Cédric Krier
5cda753f9f
Allow assigned move of 0 quantity using view location and delete them
...
This is needed to be able to ignore assignation of move from a view location,
and to delete them before all moves are set to done.
Closes #12870
2023-12-26 16:00:06 +01:00
Cédric Krier
d9782d97aa
Do not hard-code invoice report action in refresh report wizard
...
This prevents customization of the report by deactivating the report action as
documented.
Closes #12872
2023-12-27 13:33:10 +01:00
Cédric Krier
a241eb3f96
Group only customer shipment by cost method
...
The return shipment does not have this field.
Closes #12842
2024-01-06 01:32:52 +01:00
Cédric Krier
4cbcfc4a4c
Remove shipment cost method on sale without carrier
...
Since 34a5debdca00 a domain enforce an empty shipment cost method when no
carrier is selected. So former order must be updated to still be valid.
Closes #12753
2023-12-23 18:42:46 +01:00
Cédric Krier
aa20b2de71
Update planned date of assigned move from shipment and production
...
Closes #12867
2023-12-23 02:32:43 +01:00
Cédric Krier
435e3a0c59
Do not copy drop moves when copying move
...
Closes #12848
2023-12-20 13:12:32 +01:00
Cédric Krier
14596be0b8
Add CompanyTestMixin to sale advance payment tests
...
Closes #12845
2023-12-19 18:09:12 +01:00
Cédric Krier
d67158f723
Inherit access from sale for advance payment condition
2023-12-19 18:05:28 +01:00
Cédric Krier
6188d35854
Add missing company context to line of advance payment term line account
2023-12-19 18:03:19 +01:00
Cédric Krier
8c7e035976
Do not raise warning when shipment quantity difference is 0
...
Closes #12817
2023-12-11 16:35:18 +01:00
Cédric Krier
2cbc71847b
Factorize assign_supplied of Sale to reuse assign_try of Move
2023-12-08 14:00:08 +01:00
Cédric Krier
ae9746f4e0
Pick only from children location when assigned stock move from supplied sale line
...
Closes #12812
2023-12-08 12:53:16 +01:00
Cédric Krier
2cab2b2282
Do not check warnings with access checked
...
The user does not have access right to delete warnings.
Closes #12861
2023-12-22 16:57:43 +01:00
Cédric Krier
10a5cb783e
Return list of instance as result of test tax wizard
...
Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.
Closes #12852
2023-12-23 01:47:24 +01:00
Cédric Krier
e3be4a5897
Do not rely on invoice state to compute reconciliation lines
...
Closes #12864
2023-12-22 18:43:55 +01:00
Cédric Krier
675f848571
Include location code when testing record name of forecast
...
Since e229080e430e the location record name contains the code.
Closes #12869
2023-12-26 13:21:06 +01:00
Cédric Krier
3d0512ed89
Use correct id for error message when creating invoice line not draft
...
Closes #12863
2023-12-22 18:34:45 +01:00
Cédric Krier
3f11b8f6b5
Delete inventory moves when shipment is reset to draft
...
Closes #12826
2023-12-14 10:28:12 +01:00
Cédric Krier
94e7196488
Add test scenario for cancelled purchase request from sale supply
...
#12825
2023-12-21 13:11:20 +01:00
Cédric Krier
3a711d631d
Reset and cancel shipment when purchase request is cancelled
...
The stock moves of the linked sale line is cancelled so the linked shipment
state must be updated to synchronize the inventory moves or to cancel it.
Closes #12825
2023-12-13 23:27:42 +01:00
Cédric Krier
eb681a2ece
Document that payment method is needed to run pay invoice wizard
2023-12-15 10:12:14 +01:00
Adrià Tarroja Caubet
35a048deea
Rename move uom to unit to compute credit limit quantity
...
Since 7129f417a22c the unit field has been renamed on stock move.
Closes #12875
2023-12-28 12:25:05 +01:00
Cédric Krier
2d8df237dd
Do not fill invoice date when advance payment condition has no delay
...
Closes #12844
2023-12-19 16:22:05 +01:00
Cédric Krier
e5f73ea902
Set to wait only once each shipment
...
When shipments are groupes they may appears multiple times in the list so we
must use a unique set.
Closes #12839
2023-12-18 19:13:28 +01:00
Cédric Krier
8d9156df84
Add ondelete RESTRICT on Many2One of party ValueMixin
...
Closes #12809
2023-12-07 23:24:37 +01:00
Cédric Krier
acd0ae2ad2
Remove unused view from purchase invoice line standalone
...
The view is no more used since 17796866a629
2023-12-11 12:12:23 +01:00
Cédric Krier
28d72755f4
Give more spaces to the party identifier types configuration
2023-12-10 23:42:24 +01:00
Cédric Krier
2c87c460ac
Use reference and id to compute record name of blanket agreement
...
Closes #12805
2023-12-06 16:54:44 +01:00
Cédric Krier
fa8f47e0d1
Add short method to email marketing template context
...
This allows dynamic URL to be shorten and tracked.
Closes #12785
2023-11-30 10:07:57 +01:00
Cédric Krier
5208b96d55
Add UTM to marketing automation activity
...
Such that links in email message get UTM parameters.
2023-11-25 18:16:33 +01:00
Cédric Krier
1150e78834
Add UTM to marketing email message
...
Such that links in email message get UTM parameters.
2023-11-25 17:57:12 +01:00
Cédric Krier
2cf37b3763
Add UTM parameters to shortened URL
...
Closes #12772
2023-11-24 19:28:23 +01:00
Cédric Krier
f9a638e951
Use sql table after calling the __setup__ super of marketing parameter
...
It is ModelSQL.__setup__ that fill the _table attribute used in the SQL table.
Closes #12773
2023-11-25 18:31:08 +01:00
Cédric Krier
96c8feaaba
Round moves progress to 4 digits as the field
...
Closes #12834
2023-12-14 19:13:23 +01:00
Cédric Krier
0ff69f990a
Add missing match_none argument to carrier match for subdivision
...
Closes #12835
2023-12-14 19:26:23 +01:00
Cédric Krier
ea2dbe21d5
Check lot required only when changing move to done
...
Closes #12547
2023-12-12 16:03:33 +01:00
Cédric Krier
fb1f515011
Add location code to record name of location
...
Closes #12804
2023-12-06 16:42:24 +01:00
Cédric Krier
e9f90b7944
Use 0 as fallback for missing debit or credit in on_change functions
...
Closes #12823
2023-12-12 17:02:31 +01: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
0b8fa97b81
Update marketing campaign scenario for sales returned by opportunity conversion
...
Closes #12829
2023-12-16 00:11:59 +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
80fac3b031
Add confirmation when cancelling shipments
...
Closes #9667
2023-12-02 18:45:20 +01:00
Cédric Krier
8d07966b10
Update documentation of stock product location
2023-11-21 12:09:42 +01:00
Cédric Krier
902b745bb7
Pick consumable product by default product location
...
Closes #12315
2023-11-21 11:29:07 +01:00
Cédric Krier
86c2350271
Add default location property to pick product as fallback
2023-11-21 10:57:38 +01:00
Cédric Krier
98c6a80035
Split set_product_location to have a get_product_location
2023-11-21 10:46:48 +01:00
Cédric Krier
0d625d4010
Remove usage of set_user to skip check access
...
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Cédric Krier
e030cd2470
Strip generated code of product
...
The template code or product suffix code allow to have trailing and leading
spaces but not the code of the product. So we must compare the code with a
stripped version of the generated code to avoid infinite loop.
Closes #12801
2023-12-05 10:28:35 +01:00
Cédric Krier
f5076fb5e7
Limit modification access of product location to stock administrator
...
Closes #12798
2023-12-03 23:01:57 +01:00
Cédric Krier
3d31023cd9
Wait until the expected result is fetched in Stripe test scenario
...
Closes #12221
2023-12-02 12:02:10 +01:00