Commits on Source (28)
-
Michele authored
closes odoo/odoo#134794 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
a62149cd -
alsh-odoo authored
This traceback arises when the user removes 'Start Date' and change 'End Date', while printing 'Sale Details'. To reproduce this issue: 1) Install 'point_of_sale' 2) Open 'reporting/Sale Deatils' 3) Remove 'Start Date' and change the date of 'End Date' Error:- TypeError:'<' not supported between instances of 'datetime.datetime' and 'bool' On the '_onchange_end_date' method, when the user removes 'start_date' the value will be False. It leads to the above traceback as '<' is used between 'start_date' and 'end_date'. See:- https://github.com/odoo/odoo/blob/5e3c4dd330184353a585b343741505cc223b1183/addons/point_of_sale/wizard/pos_details.py#L40-L43 By applying this commit will resolve the issue. sentry-4521731693 closes odoo/odoo#137508 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
ad5a7263 -
nda authored
Similar issue have been fixed for the create in 28a9e90d . This commits fixes the same issue for the write. steps to reproduce: - create a fleet.vehicule with a res.users as driver_id - change value of plan_to_change_car before this commit: access error on res.users after this commit: field value is changed opw-3576960 closes odoo/odoo#140956 Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
f5723357 -
OCA Git Bot authoredb9962297
-
nda authored
pager does not need to be language dependant steps to reproduce: - have a lot of products on your e-commerce (more than 7 pages) - open mobile e-commerce before this commit: - pager is wider than the allowed space and width depends on the language (ex: "Siguiente" is longer than "Next") after this commit: - pager is always smaller and is language independent opw-3522688 closes odoo/odoo#140360 Signed-off-by: Nicolas Danhier (nda) <nda@odoo.com>
ec94cb43 -
Thibault Delavallée authored
Move '_create_mailing_list' as a base mass mailing tool to make it easily usable by most mail-related test addons. Improve '_filter_mail' tool by allowing to give an additional 'email_from' used to filter emails produced under a mock. When having similar records mailed several times (e.g. several mailings triggered at the same time which may happen for marketing automation tests) it eases finding the right email linked to a given mailing / recipient. Improve some logs to ease debugging, notably for marketing automation. Task-3506681 (MA: Test cleanup) Prepares Task-2981581 (MA: Fix trace duplication and various issues) Part-of: odoo/odoo#141773
c0456f07 -
Thibault Delavallée authored
Add a tool to simulate opening a mailing at trace level in addition to existing tools to simulate a click or a bounce Task-3506681 (MA: Test cleanup) Prepares Task-2981581 (MA: Fix trace duplication and various issues) Part-of: odoo/odoo#141773
17d596da -
Odoo's Mergebot authored
Move '_create_mailing_list' as a base mass mailing tool to make it easily usable by most mail-related test addons. Improve some logs to ease debugging, notably for marketing automation. Add a tool to simulate opening a mailing at trace level in addition to existing tools to simulate a click or a bounce Task-3506681 (MA: Test cleanup) Task-2981581 (MA: Fix trace duplication and various issues) closes odoo/odoo#141773 Related: odoo/enterprise#47413 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
3355a2ca -
OCA Git Bot authoredd1a510d9
-
Julien Van Roy authored
After this fix, UBL now uses the same helper as Factur-X for the import of the product. Also clean some dead code in UBL. task-3559040 closes odoo/odoo#139153 Signed-off-by: Laurent Smet (las) <las@odoo.com>
6cbd8929 -
OCA Git Bot authoreda0ff16fb
-
Odoo Translation Bot authored04d5b0d8
-
OCA Git Bot authored7b463f94
-
Mathieu Walravens authored
Steps to reproduce: 1. Create a new product with a cost of 10 (std, manual) 2. Create an inventory adjustment to set the quantity to -3 3. Change the product's category to real-time Now the valuation for this product is -30€ but the accounting part has 30€, creating a difference of 60€. Before this commit: Changing the valuation to real-time while having a negative quantity/value gives a positive value in accounting. After this commit: Changing the valuation to real-time while having a negative quantity/value gives a negative value in accounting. opw-3390692 closes odoo/odoo#130674 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
9a0e620d -
miad-odoo authored
Before this commit, templates of the live chat embed were not translated. Indeed, translations for the live chat module are never loaded. This commit fixes the issue by loading the live chat translations at the same time templates are loaded. opw-3509309 closes odoo/odoo#141960 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
92e95a1f -
OCA Git Bot authorede01323f0
-
Claire Bretton (clbr) authored
Applied fixes: - a lot of translations were outdated, not matching official ones - box 205 was missing - box 289 had translation of missing box 205 - box 200 had translation of the section - boxes 381a and 381b removed, completely outdated: we already removed all other 3X1 boxes. - boxes 200,299,479 had wrong computation - reordering lines to match the report Source: https://www.estv.admin.ch/estv/fr/accueil/taxe-sur-la-valeur-ajoutee/decompter-tva/formulaires-tva.html task-3349511 closes odoo/odoo#129717 Signed-off-by: Josse Colpaert <jco@odoo.com>
2578c309 -
OCA Git Bot authored5bfcd918
-
Odoo Translation Bot authored49085f5d
-
OCA Git Bot authored5325c11b
-
Julien (jula) authored
__Current behavior before commit:__ When a sale order is created when a website user adds an product in his cart, `payment_term_id` is set by [sale_get_payment_term][1]. But when the user sets his address, `payment_term_id` is set to `partner_id.property_payment_term_id` because [onchange_partner_id][2] is triggered. This means that `payment_term_id` is computed differently if the user edits his address before confirming the order or not. (Resulting in it being `False` most of the time). __Description of the fix:__ Inherit [onchange_partner_id][2] to set `payment_term_id` using [sale_get_payment_term][1] from the **website_sale** module. __Steps to reproduce the issue on runbot:__ - Add a product to the cart through the website. → A new sale order will be created with payment terms set. - Proceed to checkout and edit the address on the website → The sale order payment terms will be removed opw-3492868 [1]: https://github.com/odoo/odoo/blob/96b0939554101be2e93d88787d3978929b23e67c/addons/website_sale/models/website.py#L202 [2]: https://github.com/odoo/odoo/blob/96b0939554101be2e93d88787d3978929b23e67c/addons/sale/models/sale.py#L413 closes odoo/odoo#136311 Signed-off-by: Julien Launois (jula) <jula@odoo.com>
8a89bd13 -
OCA Git Bot authored25764851
-
Julien (jula) authored
__Current behavior before commit:__ `_compute_meeting` computes the meetings linked to the children of the partners in `self`. To do so, it first retrieves all children partners of `self`, then it loops through all of them to apply the meetings to the parents. This way of doing is inefficient because it is useless to iterate over the children that don't have any meetings. This can be particularly annoying if there is a partner that is a big company with 100k+ children partners. If this company apperas in the res.partner kanban view, it will load for several minutes even when there is no partner with a meeting. __Description of the fix:__ Optimize `_compute_meeting` by looping through the partners that have a meetings instead of all children partners. __Benchmark:__ | len(all_partners) | w/o fix | with fix | | ----------------- | ------- | -------- | | 1k | 111 ms | 19 ms | | 150k | > 3 min | 1.82 s | opw-3511371 closes odoo/odoo#137279 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
68d54118 -
OCA Git Bot authoredc8eda95f
-
Odoo Translation Bot authored4469746a
-
OCA Git Bot authored74f083e8
-
Julien (jula) authored
__Current behavior before commit:__ [This commit][1] breaks _compute_meeting when the parent partner has no meeting. __Steps to reproduce the issue on runbot:__ 1. Install CRM, contacts and calendar 2. Make a parent contact with a child contact 3. Schedule a meeting with only the child contact opw-3621341 [1]: https://github.com/odoo/odoo/commit/68d54118c518887e4c132d8a1bff10d12145d1a6 closes odoo/odoo#144575 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
0e311d93 -
OCA Git Bot authored09cce33e