- Feb 25, 2021
-
-
Prakash Prajapati authored
Currently, When we load the Year view of the calendar then the view is not properly scrolled top due to padding at the top. Calendar is scrolled to the current month but due to top padding in year view it was not scrolled top when initially it was loaded. So in this commit, remove the top padding and use padding on month so it will not have initial scroll when scroll to the particular month. Set default calendar view to 'month'. closes odoo/odoo#66811 Taskid: 2428655 X-original-commit: adbade3c1a000c476644e616d66af5cb982249cf Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 24, 2021
-
-
Oussama MESSAOUDI authored
Before this commit, display mode is changed to block after hiding it on mobile mode. After this commit, only change display mode for mobile and use inherited mode otherwise. task-2431659 closes odoo/odoo#66787 X-original-commit: 83112caf Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Feb 25, 2021
-
-
Géry Debongnie authored
Warning: this commit savagely patches qunitjs sourcecode. I know... I feel bad. Since we updated the way debug=assets work, we have a new problem in the qunit test suite: the tracebacks displayed by QUnit are relative to the bundle file, not the original file, which is annoying in practice. There is really no good way that I could find to integrate with QUnit to perform that task, so I had to do it the ugly way: modify QUnit from the inside to use the StackTrace library to annotate the traceback with the proper information. closes odoo/odoo#66771 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Géry Debongnie authored
-
Géry Debongnie authored
Before this commit, the module system logged module errors by displaying the stack. Fun fact: the stack in Chrome does display the error message (which is why nobody complained too much about bad error messages), but this is not true in firefox. Also, and this is a bigger issue, when we serialize the error stack like this, we prevent the browser to apply sourcemaps, if any. Which means that errors in debug=assets are not easy to understand. With this commit, we display the raw error, which means that in debug=assets, this will be nicely formatted by the browser when displayed in the console.
-
Antoine Prieels authored
Only the 'action' requests have the 'data' parameter set, so any other request triggering a 'device_changed' failed. closes odoo/odoo#66826 X-original-commit: 0850814d Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by:
Antoine Prieëls <aprieels@users.noreply.github.com>
-
Ipsita Borisagar authored
Before this commit: For an example, when task is going to 'Done' state at that time mail is sent to customer for feedback, answering of that mail contain smiley face plus subtype description in chatter. After this commit: A subtype description is removed to the smiley face from message. Links PR https://github.com/odoo/odoo/pull/66137 Task-2373127 closes odoo/odoo#66137 Related: odoo/enterprise#16340 Related: odoo/upgrade#2157 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Christophe Monniez authored
Zeep replaced suds but Debian and Rpm packaging were not updated. Ofxparse is required but did not appear in Debian nor Rpm packaging. closes odoo/odoo#66814 X-original-commit: 280df5ac Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Xavier BOL (xbo) authored
Before this commit, the user can select a sales order which is always a quotation and he cannot select a sales order line because the state of the sales order is not equal to 'sale' or 'done'. This commit adds ('state', 'in' ['sale', 'done']) in the domain of the sale_order_id field in project.project model. closes odoo/odoo#66804 X-original-commit: eb642e7e73f6ea3bb93a25629317a7c49e5770cc Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Jacky (trj) authored
Task ID: 2419637 closes odoo/odoo#66154 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Jacky (trj) authored
This change allows the user to directly go to the closing session page from the `pos_config` settings if a session is active Task ID: 2419637
-
Jacky (trj) authored
This change allows the user to see how many seats are already taken in a table. Task ID: 2419637
-
Jacky (trj) authored
[IMP]: point_of_sale UI: `NumberPopup` and `NumberBuffer` can pre-select input which will change the value upon triggering a key The user doesn't need to delete the current input before changing it. He can now write hiw new value which will erase the current one. The guest popup from the `pos_restaurant` module and the global discount popup from the `pos_discount` module benefit from this and have their input pre-selected. Before: when opening the guest or discount popup, the user always has to delete the curent value before changing it. Let's say that the current value was `5`, the user needs to either press the `Delete` or `Backspace` button/key before entering his new value. After: the user doesn't need to press the `Delete` or `Backspace` button/key and can now directly enter his new value Task ID: 2419637
-
Jacky (trj) authored
Task ID: 2419637
-
Jacky (trj) authored
Before: to enable price control, we first have to install the `pos_hr` module by enabling the "Authorized Employees" option. Only then was the price control option visible. It was then possible to enable/keep the price control option while having the "Authorized Employees" disabled. This behavior did not make sense. After: Price control is now visible and independent from the `pos_hr` module. The feature was already implemented in the `point_of_sale` module but the option (in the `pos_config` view) was put in the `pos_hr` module. Task ID: 2419637
-
Jacky (trj) authored
Allowing user to group by the POS Product Category is more relevant Task ID: 2419637
-
Jacky (trj) authored
The confirm and cancel text was not adapted for the load demo data popup. Those have been respectively changed to `Yes` and `No` Task ID: 2419637
-
jbw authored
When creating a new currency from the list view, the currency was given 1.0 as rate since this was the field's default value. The "onchange" on rate would then trigger. If 1.0 is more than 20% different than the latest rate, a warning was popped. This warning prevented the creation of the new rate. Meaning one could not create a new currency rate if the latest rate > 1.25 or < 0.833. This is fixed by setting the latest rate as default value. closes odoo/odoo#66798 Task: 2450747 X-original-commit: 02f241a35cf3a758d7759c394eb8642375dee5df Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
jbw-odoo <jbw-odoo@users.noreply.github.com>
-
Arnaud Joset authored
Before this commit, the datetime range selection was lost when the quick create dialog was opened. closes odoo/odoo#64948 Taskid: 2342252 Related: odoo/enterprise#15915 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Arnaud Joset authored
Before this commit, the calendar.event record was not properly linked to the hr.leave record. taskid: 2342252
-
Arnaud Joset authored
This commit improves the calendar behavior. * Before this commit, the invisible attribute were not evaluated in the calendar popover. * Several alignment, label, improvements taskid: 2342252
-
Arnaud Joset authored
Before this commit, the avatar was not properly aligned with the text. Taskid: 2342252
-
Arnaud Joset authored
This commit improves multiple small details in the calendar application. UI, UX mostly: * some labels were confusing * the invisible attribute were not set in popover view * the sample data were missing * ... taskid: 2342252
-
- Feb 24, 2021
-
-
Yannick Tivisse authored
closes odoo/odoo#66515 Related: odoo/enterprise#16482 Related: odoo/upgrade#2178 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Aurélien (avd) authored
Revamp the kanban view of fleet.vehicle.log.services. Add some ux improvements (new filters, better naming,..). Fix bug where contracts/services of archived fleet.vehicle were not counted in statinfo. When a fleet.vehicle is archived, archive its related contracts/services. closes odoo/odoo#62556 Taskid: 2389823 Related: odoo/upgrade#2063 Related: odoo/enterprise#15036 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jan 21, 2021
-
-
Nisha patel authored
Currently, Dates displaying on activities of Time Off application are not easy to read for users and We already have dates on the form with the right user format. So we don't need it again on the chatter So in this commit, we improve the activity summary message by removing the dates from summary of activity. closes odoo/odoo#60610 Taskid: 2339411 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 17, 2021
-
-
Ipsita Borisagar authored
Before this commit: In edit mode, glitching of chatter is visible in project.project and project.task's form view(without sheet tag). After this commit: Removed this glinch of chatter and displaying it with full width in the form (without sheet tag). LINKS PR https://github.com/odoo/odoo/pull/66314 Task- 2411632 closes odoo/odoo#66314 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 24, 2021
-
-
Christophe Monniez authored
Now that a test exists to enforce `__init__.py` in odoo module, we must ensure that we keep the feature. For that reason, a white-list system is added in `test_dunderinit` and a test is added in order to be sure that a module without `__init__.py` can be exists. This this is made of a fake module `test_data_module` without `__init__.py` and a test module which ensure the fake module was installed. closes odoo/odoo#66778 X-original-commit: 506755ef Related: odoo/enterprise#16653 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Christophe Monniez authored
Odoo modules without `__init__.py` are not recognized as python modules and therefore not packaged by standard tools. X-original-commit: 45e14adb
-
Christophe Monniez authored
When a module is added, it happens that the `__init__.py` file is forgotten. In that case, those modules are not packaged. With this commit, a test is added to check that each Odoo module has the file. X-original-commit: edabed7b
-
Christophe Monniez authored
Some json files are necessary for some modules but are not included in packaging. closes odoo/odoo#66779 X-original-commit: d33c05b6 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Géry Debongnie authored
Before this commit, the way we managed the clipboard button in an error dialog was the following: 1. crashmanager create an error dialog and give it the error information 2. error dialog does some processing to format error traceback and display it 3. crashmanager wait for it to be ready, then will manipulate the dom to add the clipboard button, by using the information it knows (NOT the processed information bye the dialot) This is obviously a mistake, so what we simply do in this commit is add the clipboard button in the error dialog, so it has updated information. Note that we also fix two other small issues: - errors coming from promise crashes (unhandled rejections) were not decorated with correct file information - chrome traceback was not correct because it has some native information that does not correspond to a stackframe closes odoo/odoo#66660 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
Katherine Zaoral authored
AFIP give us new resolution 4291 that request to print QR code in printed version of electronic invoices. For that we: 1) update the xml report footer style 2) add generic method to sanitze the identification number we are sending, the sanitize method is added here in order to be re used for other functionalities across electronic invoice and reports. If we are not able to sanitize the number then we show an error to the user 3) update translations to add new raise message translated term NOTE: Fix pylint errors: This ones pop up when running this PR "Check Style' in runbot closes odoo/odoo#65034 Related: odoo/enterprise#15949 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Adrien Widart authored
When printing an invoice, the server tries to register one attachment as main one (see #65320). However, if there is not any attachment, this will raise an error. OPW-2465995 closes odoo/odoo#66755 X-original-commit: 03d2e457 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
- Feb 23, 2021
-
-
xO-Tx authored
The goal of this commit is to enable the click on Style tab in "Edit mode". The click on this tab with no block selected will display a message to inform the user that he has to select a block before editing. task-2443297 closes odoo/odoo#65573 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Goffin Simon authored
Steps to reproduce the bug: - Go to an existing BOM B - Edit B and try to add an existing operation O in operations tab Bug: It was impossible to add an existing operation opw:2458974 closes odoo/odoo#66712 X-original-commit: ffab43fbf54b2f914b34c18da2391f3a18b3326c Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
tivisse authored
A leave manager should be able to approve a time off that already begun. opw:2447240 closes odoo/odoo#66711 X-original-commit: 2030ebe1 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com> Co-authored-by:
simongoffin <sig@odoo.com>
-
Goffin Simon authored
Steps to reproduce the bug: - Let's consider a customer C1 with email address A1 and phone P1 - Let's consider a project PR with C1 as customer - Let's consider a service product P with: - Milestones (manually set quantities on order) as Service Invoicing Policy - Create a new project but no task as service tracking - PR as project template - Create a sale order SO with C2 as customer with A2 as email address and P2 as phone - Confirm the SO Bug: The email address and phone of C2 were changed into A1 and P1 instead of keeping A2 and P2 opw:2439459 closes odoo/odoo#66709 X-original-commit: 1c23eba5ab4dc4108ef6209ebc529ab363c3cc6b Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
qsm-odoo authored
Since [1], the `website_mass_mailing` module would not auto install itself if the `mass_mailing` module would be installed since a new dependency was added: `google_recaptcha`. [1]: https://github.com/odoo/odoo/commit/d4984b81e6b244297e192f2be2768ed11da170aa task-2455069 closes odoo/odoo#66727 X-original-commit: 2db46129f3749435f2dbff904a5b73168526480a Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by:
Romain Derie <rde@odoo.com>
-
Olivier Dony authored
The filters for sponsor countries works by adding a domain term on `partner_id.country_id`. Currently this is evaluated by the ORM by first searching for all partners in those countries, and then substituting the IDs in the final query (`partner_id in <ids>`). On large databases with many partners, this makes the filtering really slow (e.g. 3 seconds with 1M partners), even though only a few sponsors actually match. From a security standpoint, most of the data on the linked partner is already available on the sponsor through related fields, and those partners are only visible when they are already published anyway. Besides, the calls in `_event_exhibitors_get_values` are performed in `sudo` mode. It should be noted that `res.partner.country_id` is not currently indexed, and doing so helps marginally: the query goes from 3000ms to 800ms. It is still much slower than with `auto_join`, which makes it go down to about 1-2 ms on the same dataset. Indexing `country_id` does not help make the `auto_join` version faster, as it only requires the primary key index to find the records. closes odoo/odoo#66692 X-original-commit: b5246315875dfad151fcb23936499750e0f1f42a Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-