Commit Graph
1680 Commits
Author SHA1 Message Date
Cédric Krier 2368e7f2e9 Use find_packages to discover packages
issue7963
review253111002
2019-03-22 15:33:44 +01:00
Cédric Krier 75276927e4 Display ids and rule names on access error
issue8093
review60551002
2019-03-03 23:11:17 +01:00
Cédric Krier c59c13a590 Prefer to pick product from the source location
In order to implement this behavior, we move first the source location in the
quantities to pick.

issue8076
review68471002
2019-03-02 23:04:35 +01:00
Cédric Krier e8e7cc1495 Do not put view location in quantities to pick
There are by design no product to pick there.

issue8077
review47801002
2019-03-02 22:59:03 +01:00
Cédric Krier 0498c4cdd5 Add test Move assign_try skips to_location
issue7856
review66541002
2019-02-18 18:35:23 +01:00
Cédric Krier e3b6c3559d Do not pick product at the destination location
It is forbidden to create move with the same source and destination locations.
To avoid this case, we remove the destination location from the quantities to
pick.

issue7856
review66541002
2019-02-18 18:34:32 +01:00
Cédric Krier 105b69448d Re-add trydevpi to dependency_links
It is needed to install Tryton's dependencies of dependencies.

issue8044
2019-01-26 01:10:48 +01:00
Cédric Krier 1529c8ea36 Replace --process-dependency-link by --find-links
issue8044
review51611003
2019-01-25 23:27:00 +01:00
Cédric Krier 00d36aa27d Remove unsupported ja_JP translations 2019-01-08 16:46:14 +01:00
Cédric Krier e75fc17209 Remove country code from languages
issue7863
review53481002
2018-12-31 15:36:49 +01:00
Cédric Krier a67d1952a7 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Sergio Morillo 191b26972d Avoid duplicate column names in compute quantity when grouping with existing columns
issue7916
review53491002
2018-12-22 18:16:57 +01:00
Cédric Krier d5ac1e8337 Fix shipment report when locations are the same or transit location is used
The inventory moves is empty when the locations of the shipment are the same.
The other moves field must be used.
When a transit location is used for internal shipment, the moves field to use
depend of the state. If it is already shipped then the incoming moves is used
to know where to store products and if it is not yet shipped than the outgoing
moves is used to pick the products.

issue7881
review50641002
2018-12-17 23:08:09 +01:00
Cédric Krier e8653f0815 Fix wrong field name from applying total_quantity rename
issue7871
2018-12-04 13:08:49 +01:00
David Harper 9804855bc3 Rename field quantity_resulting to total_quantity
issue7871
review60431002
2018-12-04 12:31:31 +01:00
David Harper 93f3022413 Add help text
issue6401
review34861002
2018-12-04 12:25:45 +01:00
Cédric Krier 194cf8f97b Use int and Decimal instead of lambda
issue7816
review74401002
2018-10-31 18:17:35 +01:00
Cédric Krier 1ce22ad7c1 Use tryton-back icon for draft transition on waiting shipment 2018-10-26 22:29:18 +02:00
Cédric Krier 8c82644308 Increase version number 2018-10-01 12:51:34 +02:00
Cédric Krier a23e268627 Added tag 5.0.0 for changeset 997d19b737f0 2018-10-01 12:51:23 +02:00
Cédric Krier 87f9bfc287 Prepare release 5.0.0 2018-10-01 12:51:23 +02:00
Cédric Krier ea52471b80 Update translations 2018-09-28 23:02:32 +02:00
Cédric Krier f7414a8674 Replace self by cls in classmethod
issue7630
review74341002
2018-09-19 00:15:59 +02:00
Cédric Krier 258f9ad9e5 Add test to prevent create move at the closed period date
issue7489
review45721002
2018-09-17 17:48:26 +02:00
Cédric Krier 03ddb0f77b Prevent create move at the closed period date
The value stored in a period are at the date so it should be forbidden to
create move ate this date and we can use the value up to this date.

issue7489
review45721002
2018-09-17 17:47:56 +02:00
Cédric Krier de8e3812d1 Rename tryton-dialog-* icon into tryton-*
issue474
2018-09-06 10:01:11 +02:00
Cédric Krier e8f39a33b8 Remove deprecation warning
- remove invalid escape sequence
- use  read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes

issue7666
issue7390
review53361004
2018-09-01 17:06:28 +02:00
Cédric Krier a04143efc6 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 04690f6a59 Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier 31f96f8c38 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier f15a5a206b Use sqlite3.backup when available
issue7212
review44131002
2018-08-06 19:05:44 +02:00
Cédric Krier e68b9fe937 Add support for Python 3.7
issue7547
2018-07-28 16:44:10 +02:00
Cédric Krier e5852ab668 Add count wizard on inventory
issue7515
review49461002
2018-07-27 17:07:31 +02:00
Cédric Krier 973dd92330 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier d8aaad50dc Add index on move for join on period
issue7342
review51441002
2018-07-24 19:27:45 +02:00
Cédric Krier 5061618d5b Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier 823f549182 Prevent delete lines if inventory is not draft or canceled
issue7478
review47451002
2018-06-04 18:55:40 +02:00
Cédric Krier c4adaf7cda Fallback to the default configured language in report
issue7449
review46461002
2018-05-23 23:14:05 +02:00
Cédric Krier 11c758ef4e Update missing translations
issue7414
2018-05-21 23:13:43 +02:00
Cédric Krier 85048e3cca Use tree mixin
issue7383
review50291002
2018-05-12 00:51:33 +02:00
Cédric Krier 42595dcce0 Manage same input and storage location in customer return shipment
issue7401
review51261002
2018-05-10 20:19:23 +02:00
Cédric Krier dbcd7b5dd8 Increase version number 2018-04-23 17:29:57 +02:00
Cédric Krier 35e39fd090 Added tag 4.8.0 for changeset 697136ec8274 2018-04-23 17:29:40 +02:00
Cédric Krier cef47d0c0f Prepare release 4.8.0 2018-04-23 17:29:40 +02:00
Cédric Krier d622ae1e32 Update translations 2018-04-21 13:06:37 +02:00
Cédric Krier df8c27aba6 Do not browse records at a datetime before they were created
If user tries to get the cost price of a product before it was created, it
should return None instead of raising an access error.

issue7334
review49281002
2018-04-20 18:36:25 +02:00
Cédric Krier fd622d7953 Replace "Shipment Out" by "Customer Shipment"
issue7346
2018-04-14 19:07:36 +02:00
Cédric Krier 3ddac8bf77 Replace "Shipment Out" by "Customer Shipment"
issue7346
2018-04-14 18:02:56 +02:00
Sergi Almacellas Abellana d0dadba0c1 Add missing space on pending shipment error message
issue7340
review44961002
2018-04-14 17:49:02 +02:00
Cédric Krier 27bc851aef Add Persian
issue7311
2018-04-14 17:23:50 +02:00