Jared Esparza
7d0367eca0
Update on_change and on_change_with field depends | #157053
2023-05-17 13:58:23 +02:00
Raimon Esteve
285a6063f7
Increase version number
2023-05-10 17:29:56 +02:00
Raimon Esteve
31e48c0e0e
compute currency in case has sale
2022-11-25 16:36:18 +01:00
Raimon Esteve
42770e9503
Get currency from line to calculate cost_price
...
Allow compability to sale_line_standalone
2022-11-24 14:31:16 +01:00
Raimon Esteve
329f225650
Convert cost_price to sale currency
...
In case company has different currency that the sale,
cost_price require to convert the currency
#072156
2022-11-24 12:25:43 +01:00
Raimon Esteve
ac6cc708ba
not require quantize cost_price because price_digits is from the configuration
2022-10-15 20:12:38 +02:00
Raimon Esteve
f0e45c2078
Increase version number
2022-08-17 14:22:02 +02:00
Albert Cervera i Areny
d44022b3e1
Fix tests.
2022-08-11 23:42:23 +02:00
Albert Cervera i Areny
63452dfdbf
Make 'unit_price' the default margin method.
2022-08-11 17:09:51 +02:00
Jared Esparza
23f70a93f2
Replace test setuptools command by unittest discover
2022-04-26 13:10:59 +02:00
Juanjo Garcia
7715ff05fa
Add missing depends in on_change_with_margin_percent.
...
047405
2021-10-01 15:02:23 +02:00
Juanjo Garcia
bcf52d6f63
Fix on_change account_tax_included.
...
047405
2021-10-01 14:01:37 +02:00
Raimon Esteve
6b54b6bd89
Add monetary field
...
issue10598
2021-08-23 18:04:15 +02:00
Raimon Esteve
6614725a41
Increase version number
2021-06-01 10:24:45 +02:00
Raimon Esteve
d95a84a928
Increase version number
2021-04-26 15:42:35 +02:00
Albert Cervera i Areny
c90783616e
Remove tree structure from company
2021-03-19 18:57:01 +01:00
raimonesteve
c762744e6a
Increase version number
2020-05-10 10:54:40 +02:00
Àngel Àlvarez
ba22405008
Modify tox and add Jenkisfile
2020-04-11 18:37:00 +02:00
?ngel ?lvarez
99bb5e3b04
increase version
2019-11-14 11:02:06 +01:00
?ngel ?lvarez
fa10e4de13
increase version
2019-11-14 10:57:06 +01:00
Juanjo Garcia
12a3f6c444
Fix tests.
2019-11-04 17:05:27 +01:00
Juanjo Garcia
a568c7afd1
Use grouped attribute on message.xml
2019-09-04 12:32:04 +02:00
Carlos G?lvez
f7afadf644
Correct on_change_with methods in which nothing was being returned
...
#038505
2019-08-06 14:01:11 +02:00
Albert Cervera i Areny
8b1199772b
Move the check to ensure there are no sales to sale.configuration.sale_method.
...
Also, when there's no value stored yet, assume the default cost_price.
Without this change we did not allow to modify other configuration values when
there's no cost_method stored in the configuration yet.
2019-06-19 00:53:14 +02:00
?ngel ?lvarez
717ac75d9a
increase version
2019-05-06 23:27:58 +02:00
Raimon Esteve
99a163e688
Not allow change sale margin method in case have sales
2019-04-05 14:37:34 +02:00
Raimon Esteve
b1559e70ca
Increase version number
2019-01-09 18:55:15 +01:00
Albert Cervera i Areny
b372458b2e
Migrate to python 3.
2018-08-18 09:57:24 +02:00
Albert Cervera i Areny
2631a4ef5c
Use method names instead of field names in depends' method=.
2018-08-18 09:56:56 +02:00
Albert Cervera i Areny
4e63f6f098
Remove accounts from products.
2018-08-18 09:56:07 +02:00
?ngel ?lvarez
3e51130cb7
fix test
2018-06-28 16:00:40 +02:00
Raimon Esteve
18fb0b9f95
FIX CHANGELOG version
2018-05-02 17:03:31 +02:00
Raimon Esteve
2392a232b9
FIX version number
2018-05-02 16:03:32 +02:00
?ngel ?lvarez
25dc6636aa
increase version
2018-04-25 10:38:45 +02:00
C?dric Krier
c465a0e5e6
Activate drone email notification
2018-03-08 18:01:37 +01:00
C?dric Krier
dc1e5176d1
Fix style
2018-02-01 17:23:58 +01:00
C?dric Krier
2b6bb452c2
Remove volumes from drone and fix test
2018-02-01 17:23:49 +01:00
Raimon Esteve
4b9107d389
Upgrade to 4.7
2017-12-22 11:34:44 +01:00
Raimon Esteve
bb6e7e4af9
Move cost_price field to productand fix margin cost in scenario test
2017-12-20 00:10:30 +01:00
Raimon Esteve
3f4f5383bd
Remove Property fields
...
issue2349
2017-12-13 12:40:07 +01:00
Raimon Esteve
8c2b4a7523
Rename method get_cost/unit_price to get_margin_cost/unit_price
2017-03-24 07:56:24 +01:00
Raimon Esteve
f0e626ce7e
Allow calculate margin percentatge from unit or cost price
2017-03-23 23:21:22 +01:00
Raimon Esteve
166c6a4f95
Increase version number
2017-01-23 23:23:35 +01:00
Raimon Esteve
e1cac57bed
Register class + IMP test suite
2017-01-23 23:22:50 +01:00
Sergi Almacellas Abellana
87f8a4bb43
Rename language codes
2016-11-22 13:39:00 +01:00
Sergi Almacellas Abellana
73b45ac85d
Use activate modules in tests scenario
2016-11-22 13:38:13 +01:00
Raimon Esteve
1f464e56da
Move margin fields in other tab (sale form view)
2016-07-06 00:08:08 +02:00
Sergi Almacellas Abellana
bc486922ef
Add missing depends sale_state in cost_price
2016-07-01 14:00:15 +02:00
Sergi Almacellas Abellana
d5614f167f
Manage readonly state on margin fields
...
Related to: https://bugs.tryton.org/issue5628
Now it's allowed to change the cost_price (so the margins are updated) on the
quotation state also.
2016-07-01 11:39:38 +02:00
resteve
c292117516
Increase version number
2016-05-03 00:49:21 +02:00