Adrià Tarroja Caubet
8d4043edf8
Skip sale lines without the type line to compute credit amount
...
Closes #12130
2023-03-09 15:26:25 +01:00
Cédric Krier
cb93430699
Merge multiple dimensions on package and package type
...
Closes #12139
2023-03-14 16:38:06 +01:00
Maxime Richez
8a0c3f12c7
Remove useless readonly state on package field in move
...
The changeset 3423f15dfcbd added readonly without removing states.
2023-03-24 15:02:26 +01:00
Cédric Krier
cf91c530ce
Get today from ir.date in product cost history test scenario
...
Since 8d4d6b810c72 the company has a timezone.
Closes #12156
2023-03-23 10:27:28 +01:00
Cédric Krier
fe0f0552ed
Remove process_exception argument when calling update_selection
...
The changeset 61900bf04dfb added such argument to caller when it does not
exist on the method definition.
2023-03-24 11:06:22 +01:00
Cédric Krier
881cbcfb2c
Rename moves exception and simplify computation
2023-03-12 22:11:34 +01:00
Sergi Almacellas Abellana
640753a0d8
Do not copy templates relation when duplicating a category
...
Closes #12158
2023-03-24 08:56:09 +01:00
Cédric Krier
dd8dc0d414
Add One2Many lead times to product template
...
The One2Many can be used by the MultiValue field to speed up computation.
Closes #12133
2023-03-13 23:00:02 +01:00
Cédric Krier
721ae8dc69
Rename product lead times to production lead times
...
#12133
2023-03-13 22:53:44 +01:00
Cédric Krier
b55209f5e0
Update test scenario to follow new order of shipment moves from b5b54bf7d450
2023-03-20 22:40:51 +01:00
Cédric Krier
1d715726c1
Do not create marketing parameter when context value is an empty string
...
Closes #12145
2023-03-16 17:13:34 +01:00
Cédric Krier
5daacd7264
Do not try to load :string value to render textual value for tryton list
...
The changeset 61900bf04dfb added such call when it is not needed and always
fails.
2023-03-18 14:38:41 +01:00
Sergi Almacellas Abellana
95bea9dfde
Define invoice line standalone per supplier
...
Closes #9994
2023-03-17 11:32:39 +00:00
Sergi Almacellas Abellana
0aca186400
Update purchase invoice line standalone documentation to new format
2023-02-21 14:12:57 +01:00
Cédric Krier
be8d6807ba
Set login name as default email from address
2023-03-10 13:10:08 +01:00
Cédric Krier
7ea4c1353a
Add company rule for amendment
...
Closes #11114
2023-02-28 13:20:14 +01:00
Cédric Krier
cec613e0de
Simplify amendment form
2023-02-28 13:08:32 +01:00
Cédric Krier
b2cd506f71
Use no breaking space to format number
...
Closes #5239
2023-02-23 14:14:01 +01:00
Cédric Krier
d5e7e25d24
Make symbol of currency optional
2023-02-23 13:39:32 +01:00
Cédric Krier
39af6a02e3
Fallback to code to format currency without symbol
2023-02-23 13:39:07 +01:00
Cédric Krier
6be816d947
Set order for stock moves on shipments
...
On shipment a good default order is by target location and product, but we add
the id to have deterministic result and remove the target location if by
design it is always the same.
On report with sequence on location, the order is fixed by the sequence of the
location.
Closes #7819
2023-02-22 16:58:23 +01:00
Cédric Krier
0993aff5dc
Add sort method to order like ModelStorage.search
2023-02-22 17:01:46 +01:00
Cédric Krier
e97ce7c685
Set __class__ to mocked model on TranslateModel
2023-02-22 16:59:48 +01:00
Cédric Krier
9c1486a8d1
Document that no triggers are called with restore history
2023-02-20 23:06:20 +01:00
Cédric Krier
2b0dcbc3c9
Reset cache when restore history of ModelSQL
...
Closes #5086
2023-02-20 23:03:59 +01:00
Cédric Krier
f7f597a150
Support domain method for all fields
...
Closes #4884
2023-02-20 17:01:40 +01:00
Cédric Krier
d1f1d0b023
Add account_stock_eu module for intrastat report
...
Closes #11837
2023-03-12 22:21:54 +01:00
Cédric Krier
c32affdc9a
Use generic relate from party to invoice
...
Also for relate from party, it gives more information to the user to display
the number of pending and done.
2023-02-19 16:49:12 +01:00
Cédric Krier
e577577c77
Use filter instead of Function field for root packages
2023-03-09 11:52:25 +01:00
Cédric Krier
09f71fb33d
Generate documentation in parallel and without fetching from docs.tryton.org
2023-03-03 19:04:10 +01:00
Cédric Krier
aa941c80a9
Group copy calls when trying to assign stock moves
...
Close #9802
2023-02-24 09:02:34 +01:00
Cédric Krier
1b2113addc
Return purchase with a single copy call
2023-03-12 22:48:27 +01:00
Cédric Krier
c62161ecb6
Return sale using a single copy call
...
This avoid to update the origin which is forbidden when it is an opportunity.
Closes #12116
2023-03-12 22:48:06 +01:00
Cédric Krier
c7a0be2a76
Call record saved after saving the current record of the screen
...
Since 403bc7a95b0a record_saved has been implemented but it is not called by
the Screen when saving record.
Closes #12117 , #12137
2023-03-09 00:21:06 +01:00
Cédric Krier
b0e89eac00
Remove password hash also from the transaction cache
...
Closes #12120
2023-03-07 16:33:58 +01:00
Cédric Krier
b49901043d
Prevent filling amendent lines if purchase has not been selected
...
The lines depend on the selected purchase.
2023-02-27 18:04:38 +01:00
Cédric Krier
28bbd95485
Prevent filling amendent lines if sale has not been selected
...
The lines depend on the selected sale.
2023-02-28 11:17:47 +01:00
Cédric Krier
4dc58e30e9
Replace _parent_ expression with direct field on sale and purchase line
...
Since #12003 lines can be edited outside the parent form so expression should
not rely on _parent_.
Closes #12109
2023-02-27 16:37:11 +01:00
Sergi Almacellas Abellana
439d357bae
Add default warehouse location on order point
2023-03-14 09:07:55 +01:00
Cédric Krier
8568e9df77
Clean translations of resources that do not exist anymore
...
Closes #2796
2023-02-18 19:05:26 +01:00
Cédric Krier
0d0cd7ee45
Keep all transaction caches still referenced
...
The LRUDict is replaced by a WeakValueDictionary to keep all used transaction
caches such as they can be cleared by ModelStorage.
But we still keep the latest cache used so they are not removed from the
WeakValueDictionary too soon when such cache has been created to be pre-filled
like in ModelSQL.search.
Closes #12119
2023-03-07 15:43:53 +01:00
Cédric Krier
ba701d5a38
Remove invalid fields from default copy
2023-03-15 16:11:51 +01:00
Cédric Krier
4b8d1ccbab
Reset next number of invoice sequences when renew fiscal year
2023-03-15 09:53:02 +01:00
Cédric Krier
a5e36bc232
Do not copy password hash nor reset from user
2023-03-15 16:09:10 +01:00
Cédric Krier
a76301e902
Add error message for invalid default fields in ModelStorage.copy
2023-03-15 09:50:26 +01:00
Cédric Krier
fbe77f6a39
Allow to extend the invoices list to compute invoice state of sale and purchase
...
So advance payment invoices can be included in the original computation
instead of duplicating the computation since changeset 1a763ffe4a66 renamed
waiting into pending and add more states.
2023-03-16 13:22:19 +01:00
Nicolas Évrard
4dfea2f82c
Catch error when rendering cells in treeviews
...
Closes #11835
2023-03-01 18:21:10 +01:00
Cédric Krier
b433317374
Update invoice state for purchase standalone invoice line
...
Changeset 5cc007f4b86ac introduced new state and renamed waiting to pending.
2023-03-15 23:24:27 +01:00
Cédric Krier
0b0ee8f74a
Update shipment state test for partially shipped in drop shipment scenario
2023-03-15 16:23:45 +01:00
Cédric Krier
8dbfc67365
Replace move done by moves progress to compute drop move
...
Closes #12144
2023-03-15 16:23:10 +01:00