Commit Graph

68 Commits

Author SHA1 Message Date
Raimon Esteve 31ffb39a6c Replace round() to quantize() 2023-11-02 17:24:16 +01:00
Raimon Esteve a42839d979 Calculate info_unit_price when unit_price is not none
162074
2023-09-08 13:42:42 +02:00
Raimon Esteve 00f27d0dd6 calculate info_unit_price when change quantity
#159207
2023-05-29 15:24:03 +02:00
Raimon Esteve 882192128c Increase version number 2023-05-10 17:19:34 +02:00
Juanjo Garcia Pagan a1fc2f83a7 Add missing "info" field in invoice line. (#2)
Task #158832
2023-05-09 10:59:03 +02:00
Raimon Esteve e090da6eff Increase version number 2022-08-17 14:10:50 +02:00
Àngel Àlvarez 4e3874ba4c add super().on_change_quantity() to not miss inheritance 2022-07-05 10:30:11 +02:00
Àngel Àlvarez f8fde6ee76 add rounding when change info_unit_price 2022-05-17 10:45:49 +02:00
Albert Cervera i Areny 757eec122a Fix test scenarios. 2022-05-12 09:27:15 +02:00
Albert Cervera i Areny ea4f10b976 Use set for depends. 2022-05-03 18:17:02 +02:00
Jared Esparza eb193037d3 Replace test setuptools command by unittest discover 2022-04-26 13:08:54 +02:00
Àngel Àlvarez 7071c81fd0 fix rounding isssuer 2022-01-01 10:38:21 +01:00
juanjo-nan 4786228df4 Move the product unit_info functionality to a new module. (#1)
product_information_uom (https://github.com/NaN-tic/product_information_uom)

Task #043706
2021-12-14 14:07:28 +01:00
Àngel Àlvarez 9cecffc606 remove float() cast cause function return rounded float 2021-10-28 12:57:57 +02:00
Àngel Àlvarez bc2a79abc9 add rounding to price functions 2021-10-21 11:38:30 +02:00
Àngel Àlvarez f9c159f1b3 round quantities 2021-10-20 12:13:34 +02:00
Àngel Àlvarez 675fd67a21 take care price conversion if unit of line it's diferent from default product uom 2021-10-13 09:41:25 +02:00
Raimon Esteve 60334f9ef3 Ensure that objects in the Pool has __slots__
issue10719
2021-09-27 13:15:17 +02:00
Raimon Esteve 50116bff20 Use digits mixin
issue10677
2021-08-26 14:00:27 +02:00
Raimon Esteve 64b8ed0236 Remove currency_digits
Since issue10598, add a monetary field
2021-08-23 18:51:06 +02:00
Raimon Esteve 61c08dff4d Increase version number 2021-06-01 09:48:29 +02:00
Àngel Àlvarez 81026f420b add sale extras_depends to allow invoice shipments 2021-05-19 11:25:23 +02:00
Àngel Àlvarez 1914e1255e change digits of information uom quantity when product is selected 2021-05-19 10:15:56 +02:00
Raimon Esteve 37c8993c2e Increase version number 2021-04-30 13:13:34 +02:00
Albert Cervera i Areny e16c0641b6 Pyflakes fixes 2021-03-28 01:02:39 +01:00
Albert Cervera i Areny 690555c400 Add missing methods to on_change calls. 2021-03-19 23:44:30 +01:00
Àngel Àlvarez 6d637698aa change default branch to master 2020-04-13 00:20:22 +02:00
Àngel Àlvarez 11dcb21137 Modify tox and add Jenkisfile 2020-04-11 18:05:32 +02:00
?ngel ?lvarez 01abee75f9 increase version 2019-11-14 11:01:38 +01:00
?ngel ?lvarez c214061289 increase version 2019-11-14 10:56:38 +01:00
Juanjo Garcia db4fa6d4f1 Add missing _parent_ on a fields depends.
Add missing fields depends.
2019-11-07 09:59:45 +01:00
Albert Cervera i Areny 392aa0b327 Remove non-existent 'info_price' field from depends declaration. 2019-10-16 09:23:34 +02:00
?ngel ?lvarez c894e1a9a5 increase version 2019-05-06 23:27:19 +02:00
Albert Cervera i Areny 9fe074942d Migrate to python 3. 2018-08-22 01:36:08 +02:00
Albert Cervera i Areny 001aa6dff9 Remove unnecessary depends, which causes an infinite recursion error. 2018-08-22 01:35:50 +02:00
Albert Cervera i Areny 33ef9de6b2 Remove accounts from products. 2018-08-22 01:34:58 +02:00
Albert Cervera i Areny 83fa2a3733 Really fix import in scenario. 2018-08-22 01:30:33 +02:00
Albert Cervera i Areny 7fc240a262 Fix import. 2018-08-22 01:29:32 +02:00
Albert Cervera i Areny c02e83e918 Fix import in scenario_account_invoice_discount.rst. 2018-08-17 22:14:38 +02:00
Albert Cervera i Areny 04fbeadf90 Fix scenario names. 2018-08-17 22:14:07 +02:00
Luciano Rossi 6c37dcc449 fix on_change_info_quantity AttributeError: "product.product" has no attribute "calc_quantity" 2018-05-09 12:26:59 +00:00
?ngel ?lvarez 23486f0409 increase version 2018-05-03 12:28:37 +02:00
?ngel ?lvarez 338c096992 tox, setup.py and fix scenarios 2018-04-18 15:22:00 +02:00
Raimon Esteve c9ab63730a Upgrade to 4.7 2018-02-02 13:55:15 +01:00
Raimon Esteve da8d6a2395 FIX pass tests 2018-02-02 13:53:37 +01:00
?ngel ?lvarez 3684f0cb94 fix to 4.0 2017-08-21 09:47:56 +02:00
Raimon Esteve 7358ae484c Upgrade 3.8 2017-03-16 14:26:10 +01:00
?ngel ?lvarez 894f296ec3 Add ir depends 2016-05-12 10:27:13 +02:00
Sergi Almacellas Abellana 1cf4efc28e Migrate to version 3.4 2014-11-04 16:37:15 +01:00
resteve 9bb9e103a4 Add ir depends 2014-09-24 15:20:36 +02:00