Commit Graph
197 Commits
Author SHA1 Message Date
Cédric Krier 998f45f62b Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Cédric Krier 7f662b8981 Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier 5df2f4afda Use sqlite3.backup when available
issue7212
review44131002
2018-08-06 19:05:44 +02:00
Cédric Krier 63e0eb1bbc Add support for Python 3.7
issue7547
2018-07-28 16:44:10 +02:00
Cédric Krier ff190a1ac6 Use task queue to process sale and purchase
issue7463
issue7460
review50441002
2018-07-27 09:27:11 +02:00
Cédric Krier 60f50f8542 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier 594cb3880b Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier 4a346ebac1 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:53 +02:00
Sergi Almacellas Abellana 674ded1398 Set target field on supplier and customer moves relations
This is required to make the client hide the relation field on when displaying
the One2Many fields on the view.

Also use filter attribute instead of Function fields

issue7475
review51341002
2018-05-30 13:58:46 +02:00
Cédric Krier 8d76252088 Update missing translations
issue7414
2018-05-21 23:13:43 +02:00
Cédric Krier 8e074fb826 Increase version number 2018-04-23 18:16:22 +02:00
Cédric Krier d3ccf4d827 Added tag 4.8.0 for changeset b4ecb0306ebf 2018-04-23 18:16:11 +02:00
Cédric Krier fa7424b57b Prepare release 4.8.0 2018-04-23 18:16:11 +02:00
Cédric Krier adbc14ae43 Update translations 2018-04-21 13:06:37 +02:00
Cédric Krier 90df33d6b8 Add Persian
issue7311
2018-04-14 17:23:50 +02:00
Cédric Krier 6d40daa082 Correctly convert unit price to set as cost price
The unit price of the supplier move is in the currency of the purchase when
the cost price must be in the company currency.

issue7243
review44901002
2018-04-13 18:49:19 +02:00
Cédric Krier 2a1497d40f Fix computation of cost price and always update customer move
The cost computation was broken by changeset 471ad47d4129.

issue7282
review44241002
2018-03-29 20:23:34 +02:00
Cédric Krier 737b769949 Check pending drop shipment to erase party
issue7169
review40131002
2018-03-24 00:09:55 +01:00
Cédric Krier 8c9feb4ed3 Create drop shipment depending on the shipment method
The purchase request may be created later so not having one does not mean that
no drop shipment will be created.

issue7200
review44111002
2018-03-22 14:54:31 +01:00
Nicolas Évrard 1b1e5558f9 Handle remaining qty when synchronizing supplier and customer moves
issue6833
review39781002
2018-03-13 14:14:18 +01:00
Cédric Krier d6ba357f76 Fix spell in documentation 2018-03-08 12:12:12 +01:00
Sergi Almacellas Abellana fcdbd045d3 Register all buttons are registered in ir.model.button
issue6389
review36621002
2018-03-01 12:45:28 +01:00
Sergi Almacellas Abellana 177a62e796 Add depends on Button
issue6919
review40811002
2018-02-19 11:41:43 +01:00
Cédric Krier e06e90bcde Remove MySQL backend
issue7017
2018-01-24 20:14:38 +01:00
Cédric Krier 85d28a7d18 Improve dependency links
issue7049
2018-01-21 19:58:07 +01:00
Cédric Krier 0a7a58205a Add relate from drop shipment to sales and purchases
issue7016
review36901002
2017-12-20 19:31:44 +01:00
Cédric Krier 7e4d253982 Update purchase request view
issue6860
review44441002
2017-12-18 19:06:14 +01:00
Cédric Krier 89e6fd53e2 Increase version number 2017-10-30 15:53:26 +01:00
Cédric Krier 53e152201e Added tag 4.6.0 for changeset e395bc2eea02 2017-10-30 15:52:46 +01:00
Cédric Krier 0e0a9562ac Prepare release 4.6.0 2017-10-30 15:52:46 +01:00
Cédric Krier 50936bc00f Update translations 2017-10-28 16:49:51 +02:00
Cédric Krier 4ca06309aa Remove support of Python 3.3 and add Python 3.6
issue6843
review41611002
2017-10-23 23:54:10 +02:00
Nicolas Évrard bdd050b04f Cancel the shipments before deleting it
issue6832
review42711002
2017-10-09 16:49:57 +02:00
Cédric Krier b50f79cade Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:33 +02:00
Cédric Krier 3e4f925bf0 Cancel customer moves of shipped drop shipment
Those moves must be cancel if the shipment is cancel because they will never
be linked to another drop shipment as the supplier moves have been done.

issue6706
review39621002
2017-09-03 11:27:51 +02:00
Cédric Krier bf3992287e Do not create drop move
if the purchase request is cancel or the purchase line has done all the moves.
Otherwise the created drop move will never be linked to a drop shipment.

issue6704
review38551002
2017-08-28 18:24:11 +02:00
Cédric Krier ed0ad95d20 Do not divide by zero
If the quantity of the supplier move is zero, the cost for the customer move
should also be zero.

issue6703
review38541002
2017-08-28 18:22:02 +02:00
Cédric Krier a4a449e4a9 Update to drone 0.8
issue6030
2017-08-19 00:55:33 +02:00
Cédric Krier 3fd534f707 Test purchase_drop_location value before returning id
The default_drop_location method should not fail if there is no
purchase_drop_location configured.

issue6690
2017-08-08 17:18:38 +02:00
Cédric Krier d7a3b188f9 Test sale_drop_location value before returning id
The default_drop_location method should not fail if there is no
sale_drop_location configured.

issue6690
review35221002
2017-08-07 12:44:27 +02:00
Cédric Krier 26be4016ad Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:23 +02:00
Cédric Krier 0815f636bf Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:49 +02:00
Cédric Krier 9ce9aadf21 Set delivery_full_address to customer address
issue6427
review38311002
2017-05-22 18:12:24 +02:00
Udo Spallek f0afb36b22 Do not insert same id in same table
issue6512
review42341002
2017-05-19 18:02:34 +02:00
Cédric Krier 2af7c33afd Increase version number 2017-05-01 22:06:31 +02:00
Cédric Krier 91fd1b4ba1 Added tag 4.4.0 for changeset 678245521b88 2017-05-01 22:05:25 +02:00
Cédric Krier 9c98d3511b Prepare release 4.4.0 2017-05-01 22:05:23 +02:00
Cédric Krier 8519f968c5 Update translations 2017-04-29 18:59:44 +02:00
Cédric Krier 02c8d8dc8b Catch KeyError on ModelData.get_id in default method
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.

issue6409
2017-04-01 10:43:14 +02:00
Cédric Krier a0499d9c7f Remove Property fields
issue2349
review36271002
2017-04-01 00:38:16 +02:00