Commit Graph
33 Commits
Author SHA1 Message Date
Cédric Krier 4ad111efb9 Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier 7869121038 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:53 +01:00
Sergi Almacellas Abellana b9a1d013a6 Add missing end dot on translatable strings
issue8670
review252211037
2019-09-30 09:39:27 +02:00
Cédric Krier cebad5f15a Always use record name for origin name
The reference field is always now included in the record name.

issue8299
review271331013
2019-05-22 18:37:08 +02:00
Cédric Krier f70595e0a2 Remove purchase fields from stock move
issue8254
review265251002
2019-04-11 19:57:25 +02:00
Cédric Krier b9c6fff856 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier e8168fa7fd Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier 98b86f6a5e Use task queue to process purchase
It adds configured delay for processing purchase which provides a grace period.
And it allows to reset to draft confirmed but not processed purchase.

issue7463
review49401002
2018-07-27 09:27:49 +02:00
Cédric Krier ff0a58d446 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier 69bc232aad Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier 1795021f81 Use getattr on Reference field
The Reference field can have a negative id and so it does not have a value for
all columns.

issue7378
review38171004
2018-04-21 12:56:27 +02:00
Cédric Krier 66c054f90f Use purchase line unit only if set
The origin may be changed for a purchase line without unit. In such case the
purchase will no more compute the remaining quantity.

issue7226
review44171002
2018-03-19 16:01:30 +01:00
Cédric Krier 1c4509ad9a Enforce the same category of UoM for move with a purchase line as origin
The purchase line computes the remaining quantity and the quantity to invoice
by converting the move quantity to the purchase unit. So they must have the
same category of UoM.

issue6839
review42721002
2017-10-18 14:51:50 +02:00
Cédric Krier eb02b7e569 Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:31 +02:00
Cédric Krier dc88413648 Make supplier fields are not visible for supplier to supplier moves
issue6436
review36321002
2017-06-24 10:27:30 +02:00
Cédric Krier 5518f88254 Use reference as origin name if filled
Because it is used as references on the reports, it targets the external world.

issue6370
review30161003
2017-03-29 22:41:03 +02:00
Sergi Almacellas Abellana 31e56dc9ea Remove Open Warehouse quantities Wizard extension
Since changeset 6de0e55a67d0 this wizard no longer exists, so it does not
make sense to extend it.

issue6067
review29841002
2016-12-21 10:10:23 +01: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
Sergi Almacellas Abellana 36da743b45 Fix migration of new supplier field on shipment in returns
Since changeset 52bdbc6c61e0

issue4035
review17971004
2016-03-18 11:41:17 +01:00
Sergi Almacellas Abellana b49bf8c7ac Add supplier on shipment in returns
issue4035
review22831002
2016-03-17 15:31:11 +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
Cédric Krier 6bc8e58015 Use price_digits
issue4438
review6791002
2015-01-06 23:30:57 +01:00
Cédric Krier 640950c212 Fix most flake8 errors
review8771002
2014-12-02 12:55:47 +01:00
Robin Baumgartner 55648dada1 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:02:57 +01:00
Nicolas Évrard 80ab8af123 Show purchase information in case of return
issue4194
review10431002
2014-09-19 16:46:16 +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 38f3a21aa7 Add warning for supplier moves without origin
issue3677
review3521003
2014-03-10 20:16:42 +01:00
Cédric Krier ee986397f8 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:28 +01:00
Cédric Krier 3292c13eac Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:20 +01:00
Cédric Krier 9fef34b041 Move code in right files following guide lines 2013-09-23 11:53:12 +02:00
Cédric Krier eeced05eec Active Record 2012-09-24 22:18:09 +02:00
Cédric Krier 0c5d4e0be2 Add supply date to Product Quantities By Warehouse
review424001
2012-07-25 20:38:38 +02:00