- Mar 21, 2022
-
-
Vincent Larcin authored
Since the sale module depends on the account module, the bridges account_sale_timesheet and sale_project_account can be merged with sale_project. This commit removes those bridges and merges them with sale_project. Task-2772395 closes odoo/odoo#86045 Related: odoo/upgrade#3321 Signed-off-by:
Laurent Stukkens (ltu) <ltu@odoo.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86457 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86444 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Arnold Moyaux authored
To reproduce: 1. create a BOM with analytic account 2. create a MO to produce 10 of the above product 3. change producing qty to 5, SAVE the form. 4. change producing qty to 10, SAVE the form. It happens because the server receive at the same time a new `stock.move.line` creation and a quantity_done to write on the `stock.move`. closes odoo/odoo#86431 Signed-off-by:
Arnold Moyaux <arm@odoo.com>
-
boan-odoo authored
Some fields in the inventory tab of the product form view had their input widget needlessly stretched to the maximum available size. closes odoo/odoo#84056 Task: 2654703-9 Signed-off-by:
Arnold Moyaux <arm@odoo.com>
-
boan-odoo authored
Previously, product barcodes uniqueness was enforced by a SQL constraint, resulting in a generic error message. The SQL constraint has been replaced by a Python check, which allows the listing of conflicting barcodes in the error message, including those resulting from batch edits. Task: 2654703-7 Part-of: odoo/odoo#84056
-
boan-odoo authored
In various views, expand and harmonize the badge colors for picking status (draft, assigned, done, ...). Task: 2654703-4 Part-of: odoo/odoo#84056
-
boan-odoo authored
In the "Reporting -> Product Moves" view, add an optional "Batch Transfer" column (default: show). Task: 2654703-2-3 Part-of: odoo/odoo#84056
-
boan-odoo authored
In the "Reporting -> Product Moves" view, allow grouping of products by carrier names. Task: 2654703-2-2 Part-of: odoo/odoo#84056
-
boan-odoo authored
In the "Reporting -> Product Moves" view, allow grouping of products by category names. Task: 2654703-2-1 Part-of: odoo/odoo#84056
-
JF Aubert authored
Workorder _action_confirm works in batch and is designed to link workorders and moves per production. Original code breaks the 'per production' constraint by linking moves from all productions to workorders of the last one when called on workorders from multiple productions. closes odoo/odoo#86698 Task: 2797201 X-original-commit: b25f1e00 Signed-off-by:
Arnold Moyaux <arm@odoo.com>
-
- Mar 20, 2022
-
-
Benoit Socias authored
Since [1] the CSS property reset for hovered outline buttons is using invalid property values. After this commit the color and image are only reset on non-hover: - the `background-color` is already set to `none` by `.btn`, - the `background-image` is only set if defined on the button's style - there is no need to reset it. [1]: https://github.com/odoo/odoo/commit/a010c91b5ee119cf54ed1a68a6ea06b2bc5f3978 task-2633169 closes odoo/odoo#86699 X-original-commit: 8530235b Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
dbkosky authored
When using price included taxes, the xml contained data that failed to meet the constraints of the edi. This is due to the local rounding on the lines of the invoice. For example: A product costing 321€, on two lines of the invoice, with a price included tax of 22% Rounded per line: float_round( 321 - (321/122 * 100), 2 # To two decimal places ) evaluates to 57.89, the total tax will be 2 * 57.89 = 115.78 In the case of global rounding float_round( 321 + 321 - (321/122*100) - (321/122*100), 2 # To two decimal places ) evaluates to 115.77, so we have a difference of one cent. This can be exacerbated by more lines. The constraints on the EDI that this conflicts with are on the tax summary section for each tax. The constraints (roughly reworded): 00422: The base taxable amount for the tax must be equal to the sum of the base product prices (for which we have already used the rounded computed values, calcuated in the invoice) + <Arrotondamento> (rounding). 00421: The value provided for the <importo> that is the value of the vat is equal to the taxable base multiplied by the tax rate. The problem is that because of our local roundings, the taxable base is equal to our products, but the tax rate * taxable base is not equal to the tax amount (as present in the invoice). This commit adds to the rounding field and subtracts from the taxable base of the tax summary a value rounding value that should make tax rate * taxable base equal to the value of the vat. closes odoo/odoo#86711 Task: 2789290 X-original-commit: def954e8 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
- Mar 18, 2022
-
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86696 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86702 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86701 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Gorash authored
The duplication was used to have a cleaner html page source code by aligning the <script t-foreach/> for example. However, this behavior seems difficult to understand and use. Additionally the behavior can be done with a <t> tag and placing the script inside. From now on, the space "trick" is only done for <t> tags, so the template fragment <article t-foreach="[0, 1, 2]" t-as="value" t-esc="value"/> <t t-foreach="[0, 1, 2]" t-as="value"> <article t-esc="value"/> </t> renders as <article>0</article><article>1</article><article>2</article> <article>0</article> <article>1</article> <article>2</article> closes odoo/odoo#86695 X-original-commit: 8f817790d3f36455c66647e79df40b7173ac498a Signed-off-by:
Raphael Collet <rco@odoo.com>
-
Raphael Collet authored
Because of 43474916, the method name_get() can now return records with False as label, and this makes code crash when it expects a string. Make sure that name_get() always return strings as labels, while keeping False as empty value for the field 'display_name'. closes odoo/odoo#86688 X-original-commit: ff37a2fef89df292b52b1501c28fcf841e1628f5 Signed-off-by:
Raphael Collet <rco@odoo.com>
-
Laurent Stukkens (LTU) authored
Before this commit: - Two uses of `stage_id.fold` were remaining in the code of sale_project although `is_closed` is directly available in the model and is an indexed field. After this commit: - The use of `is_closed` will improve the code performance as the field is in the model and indexed. closes odoo/odoo#86681 X-original-commit: ec98ba2c883e2d37352dba400f911532a6510a1c Signed-off-by:
Xavier <xbo@odoo.com> Signed-off-by:
Laurent Stukkens (ltu) <ltu@odoo.com>
-
stefanorigano (SRI) authored
This commit fixes an issue causing the activity's avatar image to exceed the available vertical space when in portrait mode. The avatar's width/height are now fixed and its pic is set to cover the available room only. task-2795252 closes odoo/odoo#86583 X-original-commit: efbff4dae62c5c72541be96045cc96e3acf46628 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
tsm-odoo authored
This PR prepares the ground for the new env one. The objective is to stop relying on 'this' during tests. In order to do this, a new way to seed data has been introduced. task-2792108 closes odoo/odoo#86447 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Julien Castiaux authored
With the iot-box it is possible to download modules from an odoo server into the iot-box. Those odoo modules are `exec`-like and exposed on the box. With those modules come some controllers. Because they were `exec`-like, they lack a python module name which makes `_generate_routing_rules` to reject them. With this fix, we authorise to declare controllers outside of odoo addons. Those controllers cannot be extended, nor can they override other controllers. closes odoo/odoo#86275 Signed-off-by:
Julien Castiaux <juc@odoo.com>
-
Adrien Widart authored
When delivering an additional product with a specific UoM, the generated line on the sale order should have that same UoM To reproduce the issue: 1. In Settings, enable "Units of Measure" 2. Create two products PA and PB (UoM of PB is the meter) 3. Create and confirm a SO with 1 x PA 4. On the picking, add 1 km(!) x PB 5. Validate the picking 6. Go back on the SO Error: the line for PB is incorrect, its UoM is 'm', it should be 'km' OPW-2761913 closes odoo/odoo#86668 X-original-commit: 805fac50 Signed-off-by:
Steve Van Essche <svs@odoo.com> Signed-off-by:
Adrien Widart <awt@odoo.com>
-
Louis Wicket (wil) authored
* = hr_holidays, im_livechat, sms, snailmail, website_livechat, website_slides Move tests files into `static/tests`. Task-2759560 closes odoo/odoo#86581 Related: odoo/enterprise#25375 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Andrea Grazioso (agr-odoo) authored
Create a 21% tax included in price Create a 6% tax included in price Create a fiscal position that will replace the 21% tax included by the 6% tax included Create a customer and assign this fiscal position Create a product : Price = 121€ Tax = 21% tax included Create a SO with this customer and this product Create an invoice (from scratch) with this customer and this product SO : the unit price is 100,00€ Invoice : the unit price is 106,00€ Fix by creating a common method to calculate the price_unit opw-2699793 closes odoo/odoo#86514 X-original-commit: 8ab56af6827a640a3f41a87905778432b3786c00 Signed-off-by:
Laurent Smet <las@odoo.com> Signed-off-by:
Grazioso Andrea (agr) <agr@odoo.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86466 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86459 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
xlu-odoo authored
When applied, this commit will add correct classes and structure to fix the style of upload notifications in the web editor. When an user uploads an image, he gets a progress and validation (or error) notification. We changed how notifications look at [1], but this particular notification did not get the correct style. [1]: https://github.com/odoo/odoo/commit/2629348090d6eabe8f9d3ae70a41f7ff7d45bbb6 task-2791078 closes odoo/odoo#86172 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Julien Alardot (jual) authored
Currently, the tax report contains the lines for tripartite trade, but no taxes have been made for these. As the EC list report use these taxes it, these needs to be implemented. closes odoo/odoo#86658 Task: task-2759470 X-original-commit: 2fcf3f14 Signed-off-by:
Josse Colpaert <jco@odoo.com> Signed-off-by:
Julien Alardot (jual) <jual@odoo.com>
-
Jorge Pinna Puissant authored
On 19e775b3 we added the same rules that exists in test_lint on the tooling, but we didn't add the globals. closes odoo/odoo#86649 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Thibault Delavallée authored
Two lines have been inverted in ``_get_access_action`` override, leading to access rights not being correctly checked. This currently leads customers with token to land on portal without token, which is not the expected behavior. Followup of odoo/odoo@a018735 closes odoo/odoo#86646 X-original-commit: dd7d60aca8718763aaa211e138f684d8797f5d8c Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86450 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2793280 closes odoo/odoo#86446 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
William Braeckman authored
Prior to this commit the create_employee check box was always shown when using the view_users_simple_form, it will now only show when the record does not exist yet. TaskId-2797251 closes odoo/odoo#86636 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
rhe-odoo authored
When we were doing a price modification on a product and this orderline was refund, the displayed price on the product screen was changed to the new value. Example: - Default price: 33 - Paying with a price set to: 2 The order is refund: - Product price is set to 2 It should only be 2 on the order refunded. The fix doesn't change the price of the product after a refund anymore. closes odoo/odoo#86627 X-original-commit: 62512893 Signed-off-by:
Masereel Pierre <pim@odoo.com>
-
dbkosky authored
When codice fiscale is not the same as the partita IVA, the template was utilising the wrong value for IdCodice in <IdTrasmittente>. It should use the value of codice fiscale, and if it's not found, then use the vat value (e.g. when it's not an Italian company). closes odoo/odoo#86621 X-original-commit: e961ff22 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
dbkosky authored
The issue is that the config param is data, which means that when the module is updated, the config parameter will be updated (i.e. reset to the 'demo' state), which will cause havoc on client databases. Even if we set the record to 'noupdate=1', the existing clients will have the record updated. The solution is to remove the config param from the data entirely, thus preventing it from being updated when updating the module, and instead have a 'post_init_hook' that sets the parameter to 'demo' (this will only happen when the module is installed, and never again). closes odoo/odoo#86607 X-original-commit: 1d3cd7ee Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
- Mar 17, 2022
-
-
dbkosky authored
PrezzoUnitario causes an error when the discount is 100% as it tries to divide by zero. Fix this by just using the unit price when the discount is 100%. closes odoo/odoo#86614 X-original-commit: 23e84145 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
tsm-odoo authored
*: hr_holidays, im_livechat, mail, mail_bot, sms, snailmail, test_mail, website_livechat, website_slides. Mail tests are currently relying on this during tests to make env, widget, data available. We don't wan't to add magic keys to this anymore. task-2792108 closes odoo/odoo#86559 Related: odoo/enterprise#25341 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-