Commit Graph
22 Commits
Author SHA1 Message Date
Cédric Krier 839d952e80 Set company id as context to compute today when creating purchase from request 2024-10-21 22:21:31 +02:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier 01574e6700 Add searcher to summary fields
Closes #13401
2024-07-18 10:12:04 +02:00
Adrià Tarroja Caubet 78f0aae2e2 Use empty string for empty descriptions to construct grouping key
Closes #12952
2024-08-18 14:25:54 +02:00
Cédric Krier 441abbfbf8 Delete purchase request when the product is deleted
Closes #12917
2024-05-11 11:58:40 +02:00
Cédric Krier f100bb11ed Use title case for button in wizard to handle purchase request cancellation 2024-04-21 12:18:38 +02:00
Cédric Krier f978cf0f73 Fill currency, payment term and invoice address with on_change_party of purchase
Closes #7027
2023-12-02 23:17:25 +01:00
Cédric Krier 545e10465f Open purchases created from purchase requests
Closes #12796
2023-12-02 23:42:08 +01:00
Cédric Krier cc53f0bd4b Make purchase request description always readonly
The changeset 3a0931d04904 added a readonly states but the description is a
substitut to the product so it should be readonly like the product.

Closes #12555
2023-10-07 19:22:06 +02:00
Cédric Krier a4cb3f9f61 Normalize Unit of Measure labels
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier 3a6e278b39 Rename UOM to Unit for purchase request
Closes #2221
2023-08-21 09:31:27 +02:00
Cédric Krier 2df45a15d4 Ensure to always have a unit price on purchase line created from request 2023-08-17 16:16:56 +02:00
Cédric Krier 74fb2982d6 Remove computed unit digits fields for stock quantity
The unit field can be used directly as digits.
2023-06-12 16:23:25 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 810780a789 Remove purchasable constraint on product when quantity is negative
Closes #9057
2023-03-23 17:37:34 +01:00
Cédric Krier 147140ebd1 Reload screen after creating purchase from purchase request
This way the user see that the selected purchase requests have been purchased
as they are no longer in the draft tab.
2023-02-09 11:06:42 +01:00
José Antonio Díaz Miralles e814732e9c Sort purchase request by purchase and line key before create purchases
This is needed to have requests ordered also when grouping them into purchase
line.

Closes #12073
2023-02-10 21:34:59 +01:00
Cédric Krier b48e4966d5 Add functions and attribute to handle check access and active records
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier 704aaf01de Support None as search value of composite rec_name 2023-01-12 11:36:41 +01:00
Cédric Krier 288f910470 Prepare migration to monorepo 2022-12-16 16:41:44 +01:00