- Mar 01, 2021
-
-
Christophe Monniez authored
Since this old commit 73592487, the files that are packaged are chosen by a list of allowed extensions. This list have to be maintained each time that a developer adds a new kind of file in a module. This is error prone [0] as most developer are not aware of that and it's difficult to monitor. Moreover, there is no reason to have a different list of installed files when one install from the git repo instead of the source package. With this commit, all [1] odoo sources files are included in the source packaging and the only thing to maintain is a small black-list of file extensions like for Python bytecode files and for version control files. [0] see commit d33c05b6 that fix `.json` missing files. [1] graft command: https://docs.python.org/3/distutils/commandref.html closes odoo/odoo#67014 X-original-commit: 9c2ce1f1 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Feb 28, 2021
-
-
Odoo Translation Bot authored
-
- Feb 04, 2021
-
-
Goffin Simon authored
Steps to reproduce the bug: 1) Enable Paypal on the Payment Acquirers and select "BE Company CoA" on the company 2) fill the email and enable the "Add Extra Fees" 3) create an invoice on the company "BE Company CoA" 4) preview it as a public user Bug: An access error was raised: Due to security restrictions, you are not allowed to access 'Companies' (res.company) records. opw:2439896 closes odoo/odoo#65553 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Jan 20, 2021
-
-
Katherine Zaoral authored
Add constraint to exclude argentinian document type's 99 from the generic LATAM constraint that restrict us us to use a debit_note or invoice internal types documents in an invoice refund. closes odoo/odoo#64831 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Gustavo Valverde authored
Documents with `l10n_latam_document_type_id.code == '99'` just exists on **l10n_ar** https://github.com/odoo/odoo/blob/13.0/addons/l10n_ar/data/l10n_latam.document.type.csv#L74 making this error arise on other localizations which don't use it. This was mistakenly introduced on https://github.com/odoo/odoo/commit/7748e0e87fd3f4677a4026ed06516d36e8d52ad5 If needed, this method should be inherited inside l10n_ar and add this additional validation.
-
- Feb 26, 2021
-
-
Adrien Widart authored
To reproduce the error: (Need MX configuration) 1. Go to Accounting > Customers > Receipts 2. Create a Receipt 3. Post and Print it Error: An error message is displayed: "Only invoices could be printed." However, MX should be allowed to print the receipts. OPW-2456374 closes odoo/odoo#66910 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Adrien Dieudonne authored
The following warning is very long in absolute position. The following text: "Calendar Mismatch : The employee's calendar does not match its current contract calendar. This could lead to unexpected behaviors." is invisible but takes a lot of width on the same line. Now, the item is a block of 0px height and doesn't take space. This avoids the horizontal scroll on mobile. Note that the item is displayed at the wrong place anyway. This will be fixed in master. Steps to reproduce: - Payroll / Employees / All contracts - Change "Working Schedule" field closes odoo/odoo#66858 Task-id: 1929043 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
Raphael Collet authored
When comparing the values of a new record with its origin, x2many fields are always different because we compare new records with real records. For instance, converting the value of a one2many field where lines have a many2many field always returns update commands for the many2many field. closes odoo/odoo#66914 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
Adrien Widart authored
When downloading the digital file, if there exists one SO linked to the current customer and that contains a Note/Section, the web page will be redirected to the "Internal Server Error" web page. To reproduce the error: (Need sale_management) 1. Create a customer C 2. Grant C portal access 3. Create a product P - Add a digital attachment 4. Create a SO - Customer: C - Add product P - Add a note 5. Save, Confirm, Create Invoice, Register Payment 6. Sign in with P 7. Consult the SO web page 8. Download the file attached to the SO line Error: The page is redirected to the "Internal Server Error" web page. When downloading the document, the module checks the customer's access. To do so, it gets all relevant invoices and free products. Here is the problem, when getting the free products, the domain includes the SO lines used for Section and Note. As a result, when it tries to read the product of such a line, this will raise an error. OPW-2419478 closes odoo/odoo#66904 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
- Feb 24, 2021
-
-
Yannick Vaucher authored
The condition on computation of `l10n_ch_isr_number_spaced` was not in line anymore with `l10n_ch_isr_number` computation. With fixes on the ISR number the use of `l10n_ch_isr_postal` is rightly not mandatory anymore. This lead to an empty field, visible on the ISR report. closes odoo/odoo#66854 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Feb 26, 2021
-
-
Adrien Widart authored
When submitting a ticket, if the user adds an attachement, he will not be able to see it on the ticket web page. To reproduce the error: (Need helpdesk,contacts) 1. Go to the settings of a Helpdesk Team (e.g., "Customer Care") 2. Enable "Website Form", Refresh 3. Go on Helpdesk web page and Publish the form 4. Create a partner P and grant him the portal access 5. Sign in with P 6. Submit a ticket with one attachment 7. Consult the ticket's web page Error: in "Message and communication history", OdooBot's message with the attachment is not displayed. However, when consulting the same page with the admin account, this message is considered as "Published". Thus, P should see the message and the attachment. When getting the messages, if the user is not an employee, the domain is restricted: https://github.com/odoo/odoo/blob/e92ac60a75462dfd830254a3d0dd5d7effe1528e/addons/portal/controllers/mail.py#L128-L130 with https://github.com/odoo/odoo/blob/cc32b7d1b396a42dd4575c681ceb422f99b6015a/addons/portal/models/mail_message.py#L30-L32 Problem is that, when creating the message with the attachement, `subtype_id` is not defined. OPW-2440069 closes odoo/odoo#66896 X-original-commit: b05a72d3 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
- Feb 23, 2021
-
-
Younn Olivier authored
When changing an image in the image gallery snippet, the miniature was not updated. It was due to the 'save' event that was not triggered. task-2438556 closes odoo/odoo#65461 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Feb 25, 2021
-
-
Csaba Tóth authored
Add new members closes odoo/odoo#66856 X-original-commit: 3d766361 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Feb 24, 2021
-
-
Goffin Simon authored
Steps to reproduce the bug: - Let's consider an employee E with 8.00 hours as Average Hour per Day - Create an Allocation for E with a Time-off Type in Hours (be sure the number of hours is different from the average hour per Day) - Open the form view of E Bug: The smart button Time Off(remaining leaves) was completely unreadable opw:2441019 closes odoo/odoo#66760 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Feb 17, 2021
-
-
Ipsita Borisagar authored
Before this commit: In edit mode, glitching of chatter is visible in 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/65447 Task- 2411632 closes odoo/odoo#65447 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 24, 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#66780 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Christophe Monniez authored
Some json files are necessary for some modules but are not included in packaging. closes odoo/odoo#66768 X-original-commit: d33c05b6 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Andrea Grazioso (agr-odoo) authored
Create a product with mor than one tax > Create a down payment with % Traceback opw-2464291 closes odoo/odoo#66770 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Feb 23, 2021
-
-
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#66706 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.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 closes odoo/odoo#65032 Related: odoo/enterprise#15947 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Feb 10, 2021
-
-
Daniel Blanco authored
[FIX] l10n_cl: in report date, use the invoice_date directly instead of passing. (otherwise was not printing the date) closes odoo/odoo#65892 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Feb 23, 2021
-
-
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#66684 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
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#66533 Signed-off-by:
bon-odoo <nboulif@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#66619 Fixes: odoo/odoo#66542 Fixes: odoo/odoo#66517 X-original-commit: a73505dd Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
- Feb 17, 2021
-
-
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#65567 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
- Feb 22, 2021
-
-
Xavier Morel authored
instead of using ad-hoc weirds closes odoo/odoo#66612 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Adrien Dieudonne authored
Before this commit, 'hours' was on the next row instead of the same line. closes odoo/odoo#66615 Signed-off-by:
Pierre Paridans <pparidans@users.noreply.github.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#66565 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
- Feb 21, 2021
-
-
Odoo Translation Bot authored
-
- Feb 19, 2021
-
-
Ivan Yelizariev authored
The problem comes from #65789 closes odoo/odoo#66547 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
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#65875 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Feb 16, 2021
-
-
JordiMForgeFlow authored
closes odoo/odoo#66254 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
JordiMForgeFlow authored
Currently, the quotation amount field added in the CRM Sales Teams Kanban view is overflowing the kanban card once the number is too large. The fix adds the class text-truncate in the corresponding div to avoid the overflow. Notice that this class is the one already used in the parent view implemented in the CRM module, for the other amount fields.
-
- Feb 19, 2021
-
-
Adrien Widart authored
When printing a draft invoice, it raises an error. The error comes from fix #65320: the latter registers the printed invoice as main attachment, but this needs to be done only with posted invoices. OPW-2427247 closes odoo/odoo#66516 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Feb 18, 2021
-
-
Goffin Simon authored
Steps to reproduce the bug: - Let's consider a product P with a subcontracting BOM B and subcontractor S - Create a purchase order PO with S as vendor - Add P on PO and confirm it - Change quantity of P two times Bug: A traceback was raised opw:2419222 closes odoo/odoo#66440 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
Denis Ledoux authored
Using `read_group` to gather such a sum is always more performant than a `search` followed by a `mapped`. In the case of the studied database, the computation never ended, while it ends in a few seconds using `read_group`. upg-7528 closes odoo/odoo#66502 X-original-commit: 8547bb6145c3ddf9c7205ea10deef22473362cce Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
-
Adrien Widart authored
When importing some invoice lines, if the analytic account field of a line has changed, the new invoice line will still keep the initial analytic account value. To reproduce the error: (use demo data) 1. Create an invoice I01 - Add one line with one analytic account (e.g., "Administrative") 2. Save 3. Go to Accounting > Customers > Invoices 4. Export I01: - Enable "I want to update data (import-compatible export)" - Fields to export: - Invoice lines - Invoice lines/External ID - Invoice lines/Analytic Account - Invoice lines/Analytic Account/Analytic Account 5. On exported file: - Delete column "invoice_line_ids" - Change the analytic account (e.g., "Operating Costs") 6. Import the file 7. Open I01 Error: The analytic account is still "Administrative". It should be "Operating Costs". The issue comes from both `._origin`: the module keeps the initial values. Both `_origin` were introduced to fix an issue (see #49110), but they are not useful anymore. OPW-2452428 closes odoo/odoo#66433 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
- Feb 12, 2021
-
-
Ivan Yelizariev authored
Neither server, no browser cannot handle unlimited number of lines at the same time. On server side it leads to series of heavy sql requests. On client side, browser will eat all the memory on trying to render all of those lines. This also prevents loading reconciled lines ids to browser. Size of the batches can be customized via System Parameter ``account.reconcile.batch`` Details: * ``action_bank_reconcile_bank_statements`` is used on clicking `[Reconcile]` button in ``account.bank.statement`` form * ``action_open_reconcile`` is used on clicking `[Reconcile]` for a journal in Account Dashboard --- opw-2424992 opw-2344807 closes odoo/odoo#65789 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Feb 18, 2021
-
-
Nasreddin (bon) authored
Issue - Install "Sales" module - Go to settings and activate "Product Configurator" feature - Create a product X with mutilple color (variants) - Create a quotation - Add product X (Product Configurator should open) - Hover any color Popup with color name does not appear. Cause 'title' attribute value is removed. Solution if element have 'value_name' data attribute, set it back as title else set no title. opw-2438704 closes odoo/odoo#66451 X-original-commit: efa36bc522771e17805ee965bdc0f0315b5f34ff Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Nicolas Lempereur authored
If a field is sanitized, a6e2b484 would hide the video button because the video does not show in backend. It is better for the consistency but if the field appear in frontend, the video would still show so we prevent something that worked (but is very not user friendly when editing in backend). This changeset go back to the previous behavior (keeping the code simplification), at one point there should be a fix so at least when editing we see the video (currently we see an empty div in given conditions). opw-2463746 closes odoo/odoo#66434 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-