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
Cédric Krier
2d45f1630a
Wait until the expected result is fetched in Shopify test scenario
...
Closes #12794
2023-12-02 12:02:16 +01:00
Cédric Krier
fd652d4b4f
Update documentation of sale opportunity
2023-11-05 21:35:48 +01:00
Cédric Krier
24fc9d1caa
Open sales converted from opportunity
2023-11-05 00:02:18 +01:00
Cédric Krier
bf6cb46170
Restrict convert button of sale opportunity to sale group
2023-11-05 00:03:21 +01:00
Cédric Krier
87470e9180
Fill sale with default addresses and payment term if not filled on opportunity
...
Closes #12671
2023-10-26 09:58:49 +02:00
Cédric Krier
b7fe8b8c1a
Always round unit price when recomputing it for stock move
...
Closes #12787
2023-11-30 15:59:31 +01:00
Cédric Krier
e70d24d375
Return values instead of changed result when testing payment term
...
Since 0db956eb2505 the returned value of on_change_with is set on the field.
Closes #12775
2023-11-27 12:43:31 +01:00
Sergi Almacellas Abellana
93beb80269
Explain where available companies and employes are defined
2023-11-20 09:51:12 +00:00
Cédric Krier
459795e2f3
Do not fail on missing colli_tracking_number in Sendcloud parcels
...
Closes #12782
2023-11-29 15:12:05 +01:00
Cédric Krier
3dc49cc1ae
Set product to None on supplier invoice when product name is not found
...
Closes #12774
2023-11-25 21:28:50 +01:00
Cédric Krier
c6335a368c
Update trees of chart of accounts with 2 passes
...
When a new parent is added to a tree template like types, taxes or tax codes,
the corresponding record of the new template parent is not yet created.
So we need to use a default value for the parent and update again the tree
after creating the new records.
Closes #12755
2023-11-16 16:32:43 +01:00
Cédric Krier
cd18803452
Use list price instead of gross price in sale reporting
...
The sales are computed without taxes so the sales from point should use the
same kind of price.
Closes #12703
2023-11-03 13:00:12 +01:00
Cédric Krier
b55e8c71ec
Do not remove starting wildcard when searching bank account number
...
The start number of bank account are often the same for account from the same
bank.
Closes #12769
2023-11-22 11:01:31 +01:00
Cédric Krier
00f6195b48
Enforce uniqueness only on bank account number active
...
Closes #12768
2023-11-21 18:07:11 +01:00
Cédric Krier
b794bcb0fe
Use production warehouse to select product location
...
Closes #12765
2023-11-21 11:35:44 +01:00
Cédric Krier
7e9d69f07f
Set state to done when all lines of sale or purchase are cancelled
...
So when the shipment and invoice state are None and all lines have an 100%
progress, then the order should be considered as done.
Closes #12698
2023-11-01 16:37:23 +01:00
Cédric Krier
da3c68d0c0
Add invoice progress on sale and purchase line
2023-11-01 16:34:42 +01:00
Cédric Krier
92a3ddb9ee
Set shipment state of sale and purchase to None when all stock moves are cancelled
...
Closes #12697
2023-11-01 16:32:41 +01:00
Cédric Krier
fe921d6406
Support writing None on Shopify identifier
...
Closes #12760
2023-11-20 12:04:37 +01:00
Cédric Krier
88dc4b90dd
Prevent to delete lines and origins of statements not cancelled or in draft
...
Closes #12678
2023-10-28 14:31:35 +02:00
Cédric Krier
1b5fa9a892
Clear tax identifiers on invoice when they are no more valid
...
Closes #12748
2023-11-15 11:09:44 +01:00