Commit Graph

25 Commits

Author SHA1 Message Date
jmartin 0ed7246e18 Add python 3 support 2016-03-29 12:00:38 +02:00
resteve e0f94c8777 pyflakes 2015-12-01 18:44:54 +01:00
resteve b25cfd5517 New API for on_change 2015-09-04 00:37:17 +02:00
resteve 51ecceb204 Use price_digits
issue4438
2015-08-11 23:46:21 +02:00
Sergi Almacellas Abellana 9b17e8f37a Round cost_price to the correct number of digits 2015-07-29 17:13:33 +02:00
jmartin 20149a69bc Computes percentage margin with the real cost price in order to have a coherent result 2015-05-21 11:07:02 +02:00
Sergi Almacellas Abellana f03cdac228 Fix margin percent computation when no cost 2015-04-16 10:50:12 +02:00
resteve e8a3388d49 Change Decimal 0.0 from string to int 2014-11-21 08:58:33 +01:00
resteve 4990265673 On Change Width Margin: calculate cost when qty is not null 2014-11-21 08:57:13 +01:00
?ngel ?lvarez 79b7016797 Add margin_percent fields to sale and sale line 2014-11-12 12:35:46 +01:00
Sergi Almacellas Abellana 6a86ba5cac Migrate to version 3.4 2014-11-05 17:17:48 +01:00
Guillem Barba 1eedd5ab0b Add compatibility with sale_discount and improve on_change_with_margin 2014-10-29 13:42:30 +01:00
resteve 3038842f0d Change unit price 4 decimals to DIGITS from config 2014-10-28 13:15:06 +01:00
Jordi Esteve b3472cd075 Compute sale margin subtotals 2014-08-30 15:16:39 +02:00
Jordi Esteve f84eed597a PEP8 fixes 2014-08-30 15:14:54 +02:00
jmartin 8311e518b7 Add all depends fields to on_change_product method of sale.line model 2014-07-02 09:09:49 +02:00
jmartin 3104e68ba3 Fix DeprecationWarning: on_change argument is deprecated, use the depends decorator 2014-05-26 15:31:31 +02:00
Jordi Esteve d961faa56d Changed file permissions to 664 2014-02-07 20:28:12 +01:00
resteve 3d88fcb259 pyflakes 2014-01-17 13:45:34 +01:00
resteve f7ce583860 Sale line cost price. Remove required 2013-10-04 10:57:14 +02:00
resteve 37e4bd85a3 sale line: get margin depends amount and operation if self.amount 2013-10-03 11:55:55 +02:00
resteve 0b86ed0ec3 Get margin: amount from amount line 2013-10-01 18:01:00 +02:00
resteve 5cc73aa23f pyflakes fixed 2013-04-26 15:00:04 +02:00
resteve 1c9ed09185 Active Record 2012-10-16 17:10:24 +02:00
resteve d8d6433422 Initial release 2012-07-24 11:56:39 +02:00