Commit Graph
323 Commits
Author SHA1 Message Date
Cédric Krier f188d50e6a Fix delivery_date computation when some moves have no date
issue5353
review24981002
2016-04-02 00:22:02 +02:00
Cédric Krier b477654cb5 Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:33:48 +02:00
Sergi Almacellas Abellana 573287760f Add return location and use it in on shipment returns
issue5371
review17141002
2016-03-21 13:50:56 +01:00
Cédric Krier df3e550f6a Merge invoice and credit note
issue5225
review18921002
2016-03-20 22:59:22 +01:00
Sergi Almacellas Abellana b49bf8c7ac Add supplier on shipment in returns
issue4035
review22831002
2016-03-17 15:31:11 +01:00
Cédric Krier 9d236184b1 None quantity is considered as 0 quantity for locations
issue5392
review20051002
2016-03-16 22:01:45 +01:00
Nicolas Évrard 3693b96042 Add Python3 support
issue3211
2016-03-04 00:34:21 +01:00
Nicolas Évrard 5ef52928e6 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:21 +01:00
Sergi Almacellas Abellana 423d7de324 Ensure move done is True for non line lines
issue5346
review24791003
2016-03-03 09:37:13 +01:00
Cédric Krier f48c6d9bb6 Remove unused Uom 2016-01-21 10:45:26 +01:00
Karla Stenger c84eb37003 Change Uom.round into an instance method.
issue4423
review16871002
2016-01-11 10:29:44 -03:00
Cédric Krier bd04a1964a Decompose get_invoice_line and get_move
to ease the customization of invoice and shipment methods.

issue5059
review16751002
2015-12-13 14:57:02 +01:00
Mario Puntin fa449aafd9 Prevent deleting product and unit linked to purchase lines
issue4894
review20541002
2015-11-17 18:05:50 -03:00
Karla Stenger 2b9133cdbc Use do workflow
issue4908
review19631002
2015-11-16 11:34:13 -03:00
Cédric Krier e76e4c7b0a Don't copy moves
The field added in changeset 1514f0e20c79 should not be copied as it is managed
by the purchase lines.

issue5093
review24551002
2015-11-01 10:53:51 +01:00
Cédric Krier 2932bd405b Use ModelData.get_id instead of searching
issue5006
review20431002
2015-10-03 11:59:23 +02:00
Cédric Krier 3841b13cdd Keep lines order when creating invoice lines
The itervalues introduced in changeset 7d28de2f84e4 doesn't keep the order of
the lines so it must loop over the lines to keep the order.

issue4794
review23431002
2015-09-28 21:34:13 +02:00
Nicolas Évrard b3d95740f2 Use real O2M field for moves
issue3945
review6941002
2015-09-26 21:14:03 +02:00
Jordi Esteve 9f85f901bd Remove .id in the domain of the searcher methods
issue4987
review15661002
2015-09-23 23:06:33 +02:00
Cédric Krier 2c1652332f Use move dates to compute delivery date if possible
issue4956
review16601002
2015-09-17 11:24:22 +02:00
Cédric Krier 329dceabc7 Set spell attribute only on form view
issue4944
review22391002
2015-09-04 12:01:33 +02:00
Cédric Krier abaa3ac63e Remove boolean expression in order
issue4852
review15541002
2015-07-13 23:58:42 +02:00
Cédric Krier d3f7cc715f Fix search_rec_name for negative operator
In case of negative operator, each subclause must be composed with 'AND'.

issue4559
review9191002
2015-04-05 23:38:20 +02:00
Nicolas Évrard 505d176590 Use tax sequence to order M2M of taxes
issue4120
review12461002
2015-03-16 15:40:51 +01:00
David Harper 1422a0760d change Ok to OK
issue4290
review6141002
2015-03-10 18:43:37 +01:00
Cédric Krier da83caebee Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:42:02 +01:00
Cédric Krier f99785a0b9 Add taxes in the context of purchase price
issue4446
review7861002
2015-02-27 11:25:10 +01:00
Guillem Barba 0cf4a7af79 Support mixed invoice type by line in invoiced quantity calculation
issue4410
review10751002
2015-01-26 11:39:01 +01:00
Cédric Krier 6bc8e58015 Use price_digits
issue4438
review6791002
2015-01-06 23:30:57 +01:00
Cédric Krier 359ce854cd Fix typo in taxable_lines introduced in changeset 3d55ada81f7e 2015-01-02 16:27:33 +01:00
Cédric Krier aca59617f7 Redefine _order instead of duplicate order on id
issue3439
review6781002
2015-01-02 15:49:55 +01:00
Cédric Krier 1739c49a0f Fix typo in taxes domain
introduced in changeset 5b0d2d2727a6

issue4424
2014-12-31 17:18:13 +01:00
Nicolas Évrard 0072adddb4 Fix flake8 errors introduced in changeset 3d55ada81f7e 2014-12-22 17:32:19 +01:00
Nicolas Évrard 735126d7aa Factorize tax computation
issue4115
review9561002
2014-12-19 19:41:50 +01:00
Cédric Krier 81a731070d Add missing company domain/field
issue4311
review7691002
2014-12-03 16:14:02 +01:00
Cédric Krier 640950c212 Fix most flake8 errors
review8771002
2014-12-02 12:55:47 +01:00
Cédric Krier 49cc650205 Fix wrong default rounding of quantity for invoice
The default digits of quantity is 2 so the default rounding must be 0.01

issue4374
review11671003
2014-11-29 10:55:58 +01:00
Robin Baumgartner 55648dada1 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:02:57 +01:00
Cédric Krier 8d88268e3a New API for on_change
issue4203
review8581002
2014-10-29 20:40:09 +01:00
Cédric Krier ba5824c138 Round quantity before using it on invoice line or stock move
Precision can be lost also with only addition and substraction because of
float, so quantity must be rounded before used on invoice line or stock move.

issue4191
review13551002
2014-09-30 09:44:28 +02:00
Cédric Krier 5c1b1ad900 Add Tax rounding configuration
issue4106
review11401002
2014-09-17 22:20:03 +02:00
Cédric Krier b74141de1b Add pre_validate to quote button
issue4121
review11481002
2014-09-17 22:07:37 +02:00
Cédric Krier 8e61ceca6b Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:46 +02:00
Cédric Krier aeadbc05d1 Re-use on_change_with_amount in get_amount
issue4167
review5591002
2014-09-13 15:25:04 +02:00
Robin Baumgartner cca6f24d1e Make payment term optional in draft and quotation states
issue3388
review10421002
2014-07-14 11:39:10 +02:00
Nicolas Évrard f6b9c8f699 Make party readonly in case there is lines
issue3942
review5321002
2014-07-11 18:17:46 +02:00
Nicolas Évrard 1c574acb8b Fix typo introduced in changeset 4ea0da2747b1 2014-07-03 18:18:16 +02:00
Nicolas Évrard 094e275a09 Split confirmed state into confirmed and processing
issue3874
review7261002
2014-07-02 19:04:58 +02:00
Cédric Krier 931a3ef569 Compare quantity to unit rounding instead of zero
issue3965
review8391002
2014-06-09 18:05:59 +02:00
Cédric Krier 78a46734d4 Don't change currency when party changed if there are lines
issue3883
review8291002
2014-05-09 23:28:01 +02:00