Commit Graph
1093 Commits
Author SHA1 Message Date
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
Cédric Krier 41df1f1d7e Do not expand checkboxes group in party form
This gives more space for the name and code.
2023-11-09 15:11:50 +01:00
Cédric Krier 37e43d6573 Optimize update of customer move when drop shipment is set to waiting
By using One2Many fields, it is possible to avoid custom search and use nested
single loop to update the customer moves.
2023-10-25 18:11:34 +02:00
Cédric Krier 4344f77ac5 Do not convert width and height URL parameters of product image into boolean
Since 8cba7039bc3c there are 2 new arguments w and h.

Closes #12745
2023-11-14 15:07:54 +01:00
Cédric Krier 7b454b7284 Set height of street text widget for 3 lines
Closes #12723
2023-11-09 10:07:47 +01:00
Cédric Krier 5d2bc18e3d Display fields of payment term delta in application order
The user may not know the order in which the relativedelta operations are
applied.
2023-11-02 16:21:25 +01:00
Cédric Krier f4ca6c4648 Document how account journal are chosen 2023-11-07 00:35:26 +01:00
Cédric Krier 97f432e06f Fix typo in sale documentation 2023-11-16 09:24:27 +01:00
Cédric Krier a88682d1a6 Fallback to move date when ordering by maturity date and it is empty
Closes #12722
2023-11-09 09:40:49 +01:00
Sergi Almacellas Abellana 7274778986 Do not instanciate transaction multiple times when computing sale price 2023-11-15 16:44:53 +01:00
Cédric Krier 4bc74de579 Remove check against move when deleting account period
The period on the move restrict on delete of the foreign key.
2023-11-06 15:46:25 +01:00
Cédric Krier 592edc13dd Allow modifying account period dates with account moves
As long as the existing moves has still a date inside the new period dates.

Closes #12667
2023-11-06 15:44:47 +01:00
Cédric Krier 91f4c6b2b8 Check dates of periods when changing fiscal year dates
Closes #12667
2023-11-06 16:19:33 +01:00
Cédric Krier 6b2aa74ce5 Preserve product image ratio
Closes #12744
2023-11-14 14:18:56 +01:00
Adrià Tarroja Caubet ad9c41be26 Fix typo in comment of test scenario for stock supply production 2023-11-13 00:30:34 +01:00
Cédric Krier f8a6d08b20 Test extension of invoice and shipment grouping fields 2023-11-08 11:37:38 +01:00
Cédric Krier 84318913c7 Incoterm tests depend on sale shipment grouping not sale invoice group 2023-11-08 11:36:58 +01:00
Cédric Krier b1a3e23951 Extend grouping fields with a list
4e84027dbc2e updated the grouping fields method to receive the grouped
instance but it did not adapt to the returned type which is a list.

Closes #12718
2023-11-08 00:09:37 +01:00