- Feb 25, 2021
-
-
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#66784 X-original-commit: 39738f2b Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Feb 17, 2021
-
-
Ipsita Borisagar authored
Before this commit: In edit mode, glitching of chatter is visible in project.project'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/65448 Task- 2411632 closes odoo/odoo#65448 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 24, 2021
-
-
Josse Colpaert authored
When we want to send the invoice to the client, a hack was made in account_edi to make sure that we put the XML of the electronic invoice formats as well, in the case of web services such that the client has the XML we sent to the government. For MX however, we also send the payment to the government. However when we wanted to send the confirmation about the different changes, we still needed to add the XML manually before this fix. Now it should be added manually even when manually composing the mail to the customer with the payment receipt confirmation. (but we hope it dies) closes odoo/odoo#66728 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Christophe Monniez authored
Some json files are necessary for some modules but are not included in packaging. closes odoo/odoo#66772 X-original-commit: d33c05b6 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
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#65716 Signed-off-by:
Quentin Smetz (qsm) <qsm@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#66756 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.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#66747 X-original-commit: 03d2e457 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
Have an empty database Install Recruitment Employee>Departments>Administration(3 dots)>Recruitments Missing record message raise This occur because of an access to a record that may not exists opw-2431929 closes odoo/odoo#66650 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Feb 23, 2021
-
-
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 closes odoo/odoo#65033 Related: odoo/enterprise#15948 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Goffin Simon authored
Steps to reproduce the bug: - Create a multi-company environment with two companies A & B - Create two sales taxes TA & TB, one for company A & one for company B - Created a shared product P and assign both TA & TB - Create a fiscal position FP that maps TA and TB to other taxes - Login with user having access of both companies - Enable a POS session S with fiscal position and select FP - Open S and select P as product Bug: A traceback was raised PS: Only the taxes of company's user are loaded in taxes_by_id So when trying to fetch taxes from a product with function get_taxes, the taxes from other companies than company's user must be ignored. opw:2448785 closes odoo/odoo#66717 X-original-commit: 5dcfdcb2 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Feb 04, 2021
-
-
Aurélien (avd) authored
Change Delete secondary button to Archive on calendar popover for synced calendar event. This makes it easier to delete synced button from the calendar view. (This commit is roughly the same as the one for google calendar, with an additional check in MicrosoftCalendarPopover.js) closes odoo/odoo#65539 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Aurélien (avd) authored
Change Delete secondary button on calendar popover to Archive for synced calendar event. This makes it easier to delete synced calendar events.
-
- Feb 23, 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#66651 Related: odoo/enterprise#16596 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.
-
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.
-
Nasreddin (bon) authored
Issue - Install Inventory module - Go to Inventory -> Reporting -> Inventory Valuation - Click on "Inventory At Date" button - Select any date The datetime in breadcrumb is displayed in UTC. Solution Display datetime in current user timezone. opw-2464744 closes odoo/odoo#66713 X-original-commit: 235386e4 Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Joseph Caburnay authored
To reproduce: 1. Activate pos_hr feature. 2. Authorize an employee with pin. 3. Open a pos session and login with that employee. 4. [BUG] The popup to input pin is broken. This is because of the 'minus' button. In this commit, we make sure to hide the 'minus' button when the popup is used to ask for pin. closes odoo/odoo#66688 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Feb 18, 2021
-
-
tivisse authored
A leave manager should be able to approve a time off that already begun. opw:2447240 closes odoo/odoo#66481 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com> Co-authored-by:
simongoffin <sig@odoo.com>
-
- Feb 23, 2021
-
-
Julien Giannone authored
This commit unpins a livechat channel initiated by an admin when it's closed and no message has been sent closes odoo/odoo#66178 Task-id: 2276571 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Nicolas Lempereur authored
Scenario: - set new background image - set parallax - save => on next edition, the editor doesn't work on background anymore Why: - backgroundOptimize copy attributes of the original image to the real target element on save - parallax change the real target element to a new child => so if the original element was an editor (with data-oe-model, ...) attributes, with the combination of the two options we will save these editing attribute on the child element which is wrong (the editing attributes are added dynamically and should not be saved). With this changeset, we don't copy the editing attributes in backgroundOptimize when we copy the original target image. opw-2427560 opw-2429340 closes odoo/odoo#66665 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Rémy Voet (ryv) authored
This fix (odoo/odoo#46850) was too permissive and fix too much stock valuation issues (other than rounding error) under the hood. The problem of the "too permissive" is will hide some errors without get any feedback about them. Also, it changes the SVL value without any explanation. To avoid the first issue, apply a threshold on the rounding adjustment. This threshold is '(quantity_out * smallest_value_of_the_currency) / 2' (`smallest_value_of_the_currency` = `rounding` field of the related currency). Also to improve debugging, add a line in the description about the rounding adjustment done in a SVL task-2452786 closes odoo/odoo#66662 X-original-commit: 74ba8039 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
nie authored
Steps: - Install Inventory - Make sure Units of Measure are activated in the settings - Go to Inventory > Configuration > Units of Measure > UoM - Delete m³ - Go to Products > Products - Click any product Bug: Traceback here: https://github.com/odoo/odoo/blob/5324f7a6aa757ff6a728258ea1877ded4a6f86cd/addons/product/models/product_template.py#L315 ValueError: External ID not found in the system: uom.product_uom_cubic_meter Explanation: Products refer to UoM since this commit: https://github.com/odoo/odoo/commit/2c079fcd107caec3a25e2a78d4d0e5af1d8237da Deleting a referenced UoM will most probably break things in the future. This commit prevents users from deleting UoM that are referenced by an external ID. opw:2457057 closes odoo/odoo#66656 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
Lucas Lefèvre authored
The `mail` module logs bus notifications it does not handle. However, some notifications are not meant to be handled by `mail` and it's perfectly fine. This commit removes the log to avoid useless noise in the console. closes odoo/odoo#66661 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Xavier Morel authored
instead of using ad-hoc weirds closes odoo/odoo#66649 X-original-commit: 9a129ca9 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Qiuyu (QHO) authored
The executing function for FieldCommand should return boolean value to indicate whether the value changed for triggering the re-computation. closes odoo/odoo#66648 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Denis Roussel authored
Do a transfer in two steps with several move lines (e.g.: Vendors => Input => Stock). In the first picking, set quantity = 0 on a single line. Transfer it and say 'No backorder'. In the second picking, set all quantities (you have two move lines confirmed and one canceled). Validate the transfer. The backorder wizard is launched. It should not. closes odoo/odoo#66272 X-original-commit: 25ae2416 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
- Feb 22, 2021
-
-
Tiffany Chang (tic) authored
Commit e5ab8cf9 missed a use case. Steps to reproduce: - Activiate "Packages" setting in Inventory - Configure an operation type to "Move Entire Packages" - Create a "Planned Transfer" picking with that operation type and add a package to be moved - Turn off "Move Entire Packages" and try set the destination package of the move line to nothing (False). Expected result: Move line has no destination package + package level is deleted as expected. Another bug will still exist due to the design of package_level where if in addition to the above use case, if a different package is used instead of deleting it and "Move Entire Packages" is reactived => final package shown in the Detailed Operations will show all move lines as being part of the same package even though they are not. Data appears to be correct in the database otherwise and a reasonable fix doesn't seem feasible for now so we leave this bug as is. Related to Task: 2418907 closes odoo/odoo#66624 Fixes: odoo/odoo#66542 Fixes: odoo/odoo#66517 X-original-commit: a73505dd Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Nicolas Lempereur authored
Scenario: - go to /slides and start editing the page - change the position of background banner - save => traceback Why: The code for pan tool duplicates the target element in an overlay. In the given use case, it means a node with .o_editable class is created that will cause an error when saving because the code expect the cloned element to be an editor (in `RTEWidget.save()`) but it is not (and is eg. missing `.data('options')`). opw-2427560 closes odoo/odoo#66639 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Adrien Dieudonne authored
Before this commit, 'hours' was on the next row instead of the same line. closes odoo/odoo#66628 X-original-commit: 6820eef1 Signed-off-by:
Pierre Paridans <pparidans@users.noreply.github.com> Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
nie authored
Steps: - Install sales,payment - Go to Sales - Create a quotation - Click Actions > Generate a Payment Link - Browse the link in a private window - Pay Bug: The transaction is not linked to the sale order in the link table `sale_order_transaction_rel` Explanation: When not connected, the user doesn't have the rights to read the order. This leads `order_id` to be set to `None`: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/payment/controllers/portal.py#L177-L178 When paying without `order_id`, the app is not able to make a link with the transactions: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/payment/controllers/portal.py#L276-L277 This raises problems such as not being able to capture an amount as seen here: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/sale/views/sale_views.xml#L254-L257 If we ensure a `partner_id` is present, using `sudo` here shouldn't be a problem as the data is protected by the token. Everything we get from `order_id` should already be in the URL. opw:2451564 closes odoo/odoo#66616 X-original-commit: f1f73fd2 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
- Have a storable product with 3140.0 quantity on hand - Make a sale order for 3106.40, confirm and validate delivery - Reserved quantity will be 3106.40 - Make another sale order for 33.60, confirm and go to delivery - Reserved quantity will be 33.59 because of a rounding issue when calculating the available quantity opw-2449732 closes odoo/odoo#65453 Signed-off-by:
agr-odoo <agr-odoo@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
- Go to the website - Drag a "Tabs" block on the page, you will have 3 example tabs - Click on the tab "Contact" and drag in the block "Image Gallery" - Add multiple images to the image gallery - Click on one of the other tabs so that the image gallery is hidden - Save The image gallery do not have the thumbails anymore. This occurs because when the carousel-indicator is hidden, jquery is not able to fetch its real length, so no icons are added. opw-2438513 closes odoo/odoo#66197 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Benjamin Frantzen (bfr) authored
Before this commit, in some cases the attachment of the Belgian EDI might not exist any longer when printing the pdf, which caused a crash when trying to embed it into the xml. closes odoo/odoo#66588 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Stefan Rijnhart authored
closes odoo/odoo#66505 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
- Feb 18, 2021
-
-
nie authored
Steps: - Login as an admin user - On a fresh branch install event_crm - Give a "test" user access rights of "Own Document only" in the "Sales" app, nothing in "Events" - Assign any lead to "test" user - Login as "test" user and try to access your own leads Bug: Error: While parsing modifiers for button: for modifier "invisible": Unknown field registration_count in domain Explanation: The button `event_registration_action_from_lead` tries to access event registrations even if the user doesn't have access to events. opw:2462127 closes odoo/odoo#66425 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
- Feb 17, 2021
-
-
Aaron Bohy authored
Let's assume the following scenario: - have an action in target new (e.g. a form view) - in the dialog, have an action/object button with confirm attribute - when clicking on that button, a confirm dialog opens - if validated, the following action returned by the server is again an action in target new Before this commit, the confirm dialog remained in the DOM. This issue occurred because it's parent wasn't correctly set (wrong use of `this`), so when the first dialog was destroyed, the confirm dialog wasn't automatically destroyed in turn. OPW~2440712 closes odoo/odoo#66345 X-original-commit: 2016fe31af970976775c9df160a31abfbec742ba Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
Mohammed Shekha authored
before this commit: when there is only one page in the notebook tag and there is a boolean field in form to show/hide that notebook page based on invisibility attrs, if we toggle boolean field notebook hides, that's OK but when we toggle boolean field again then notebook page is displayed but it is not active and due to that content of notebook page is not displayed. after this commit: when there is only one page in notebook and it has attrs for invisibilty, when we toggle boolean field to hide/show notebook page then notebook page as well as content is toggled. task-2449053 closes odoo/odoo#66338 X-original-commit: a0b5ecd3 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Feb 21, 2021
-
-
Odoo Translation Bot authored
-
- Feb 19, 2021
-
-
xO-Tx authored
Context: 1) Edit mode 2) Click on anchor edition button of website form submit button 3) Traceback occurs The "focus" triggered on $editable element in editor's 'getLinkInfo()' discards user's text selection on submit button, as a result, 'range.create()' method returns null since no selection is found. Note: the bug only occurred in Chrome. Note 2: [1] apparently tried to solve the same issue but the fix was not solving it correctly, at least not in all cases. [1]: https://github.com/odoo/odoo/commit/da14e4449e5e318eb72e1b9f268fb797adb0c6a6 opw-2443441 closes odoo/odoo#66552 X-original-commit: d2f3c9e7 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Laurent Smet authored
closes odoo/odoo#66543 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-