Commit Graph
33 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 9c330af589 Add default locations on products
issue9214
review299351002
2020-05-22 11:35:01 +02:00
Cédric Krier 6538351bbf Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier 32c7e816b9 Unify _get_inventory_move on shipment
Define them as instance method to provide more flexibility.

issue8255
review287251002
2019-04-11 18:54:55 +02:00
Cédric Krier 1d6c6bf3e6 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier b9d5b5106e Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier 1b9206a035 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier 104ec3d54a Use MatchMixin for ProductLocation
This allows to extend the criteria when selecting the location.

issue6364
review33211003
2017-03-23 22:48:29 +01:00
Sergi Almacellas Abellana 25da9b566c Use sequence_ordered
issue5105
2016-09-13 14:10:50 +02:00
Nicolas Évrard 914dc164e7 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:52 +01:00
Cédric Krier 346ac96f00 Add Python3 support
issue3211
2016-02-28 14:54:50 +01:00
Cédric Krier 073579eb11 Remove boolean expression in order
issue4852
review15541002
2015-07-13 23:59:03 +02:00
Cédric Krier 1480e8d2cc Fix most flake8 errors
review8771002
2014-12-02 12:56:12 +01:00
Robin Baumgartner f372e31481 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:04:36 +01:00
Cédric Krier 20c2453f3e Test move from _get_inventory_moves before setting location
issue3530
review2011002
2013-12-12 13:31:21 +01:00
Cédric Krier 544de09bbc Migration to python-sql
review1001002
2013-09-06 22:34:54 +02:00
Cédric Krier 6392dafc37 Add missing ondelete CASCADE for product, warehouse and location
review922002
2013-06-26 16:46:30 +02:00
Cédric Krier 1b8546a526 Use unique shipment on Move
issue2642
review717002
2013-03-23 15:43:05 +01:00
Cédric Krier fc32fd83f9 Use instance in shipments
review708002
2013-03-12 10:36:37 +01:00
Cédric Krier e1374602ee Support product location also for customer return shipment
review677002
2013-03-05 10:35:19 +01:00
Cédric Krier 8599053935 Active Record 2012-09-24 22:18:22 +02:00
Cédric Krier fc061d942a Add missing import of Transaction and TableHandler 2012-05-15 00:52:12 +02:00
Cédric Krier 2baf5e1832 Remove required on sequence
review348001
2012-05-14 15:36:57 +02:00
Nicolas Évrard 9041a71432 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:55 +01:00
Mathias Behrle 05f232eb08 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:09 +01:00
Cédric Krier 83ac1fe3b4 Add test for depends 2011-08-04 16:57:45 +02:00
Phillip Heller be5c1ec736 Update for new Transaction 2010-08-10 11:58:57 -04:00
Cédric Krier 22800e57d3 Use PySON 2010-01-20 11:05:08 +01:00
Bertrand Chenal 99c8d30537 Rename packing into shipment 2009-09-30 08:11:27 +02:00
Cédric Krier b2adc87fba Fix domain must be a list 2009-07-31 17:33:16 +02:00
Bertrand Chenal 26a18c6073 Guidelines 2009-07-29 16:16:34 +02:00
Cédric Krier e5fdf77e22 Fix location domain if warehouse is empty 2009-03-31 13:48:15 +02:00
Cédric Krier b4af78d898 Remove OSV and WizardOSV 2009-02-28 17:06:12 +01:00
Cédric Krier 1743189e37 Initial commit of stock_product_location module 2008-09-30 15:14:08 +02:00