Commit Graph
26 Commits
Author SHA1 Message Date
Cédric Krier 4df9251c6b Display quantity in record name
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Cédric Krier 06c46675f3 Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Udo Spallek 83fba8d852 Change staticmethod to classmethod
issue8195
review255491002
2019-06-04 14:44:33 +02:00
Cédric Krier d3af886394 Ensure to set the right UoM on purchase line
The UoM of the request must be constrained to the same category as the default
uom of the product.
But also we must ensure that on_change_product does not change the quantity or
unit. The purchase creation should raise an error if the unit is not valid on
the purchase line.

issue8358
review257471002
2019-06-03 15:30:56 +02:00
Cédric Krier 4a946c567a Allow to define product supplier on variants
issue6799
review66551002
2019-03-15 11:30:21 +01:00
Maxime Richez 0e54e09409 Use id on request rec_name in case of empty product and description
As product and description are not required, rec_name should return id if both
fields are empty.

issue8007
review70501002
2019-01-30 10:14:10 +01:00
Cédric Krier 1f36aaac52 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 4f3e4bc3c3 Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier 2e7c4e740e Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier f6edc7c449 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Sergi Almacellas Abellana 867867a1af Add depends on Button
issue6919
review40811002
2018-02-19 11:40:21 +01:00
Cédric Krier 63ef281c67 Make description on purchase request optional
issue6860
review39911002
2017-12-18 19:03:48 +01:00
Cédric Krier c71761fd2c Use on_change_product to fill purchase line
issue6823
review35671002
2017-11-10 10:50:11 +01:00
Cédric Krier 368d239404 Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:31 +02:00
Cédric Krier 274d8d117b Remove required on request origin
The constraint is not programmatically needed, so it is better to remove it.

issue6533
review39401002
2017-06-13 09:47:29 +02:00
Sergi Almacellas Abellana adf81fc886 Apply tax rule with empty taxes when creating purchase
issue6524
review35011002
2017-06-07 13:54:01 +02:00
Sergi Almacellas Abellana d62e0bf59a Ensure None and '' match when comparing requests description
issue6529
review38391002
2017-05-30 12:37:46 +02:00
Maxime Richez 1348accd39 Make state field readonly
changeset 49996de6e495 converted state field from Function field into Selection
field but it missed to properly keep it readonly because the state is managed
by update_state method.

issue6359
review26251002
2017-03-16 18:59:17 +01:00
Cédric Krier f2324a26dc Replace 'in' clause by python filter
The length of active ids could be too large to be in a SQL query.

issue6306
review31131002
2017-03-13 20:43:02 +01:00
Cédric Krier 188fae0ec1 Use Selection field for purchase request state
issue6153
review30951002
2017-01-10 11:47:28 +01:00
Cédric Krier b286e85406 Add requests on purchase line
issue6110
review34511002
2016-12-27 17:50:05 +01:00
Cédric Krier 29c21f9d06 Allow request without product
The purchase line does not required to have a product, so the purchase request
should behave the same. A description field is added to be used instead of the
product name as purchase line description.
The unit price is only computed if it is not yet set and if there is a product.

issue5670
review27431002
2016-07-08 10:47:48 +02:00
Cédric Krier fa41c94bf7 Group requests of same product and unit into one purchase line
issue5578
review23141002
2016-06-16 16:36:24 +02:00
Nicolas Évrard 6d328ab860 Add migration query for Purchase Request group
issue5433
review19141002
2016-03-29 19:30:37 +02:00
Nicolas Évrard 77e1aeaec1 move find_best_supplier from stock_supply to purchase_request
issue5349
review19121002
2016-03-29 19:22:23 +02:00
Nicolas Évrard 8021f83297 Initial commit
issue5349
review23861002
2016-03-25 17:01:00 +01:00