Commit Graph
1120 Commits
Author SHA1 Message Date
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
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