Commit Graph
2124 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 4da84d5b3f Fill unknown country only for move with an intrastat type and one empty country
Closes #14008
2025-05-11 01:26:47 +02:00
Cédric Krier 41993306bf Use pairing to generate unique ID for purchase reporting
Purchase reporting are also grouped by currency so they should be part of the
ID.

Closes #13743
2025-05-05 15:07:27 +02:00
Cédric Krier 30c5744433 Fix message ID for unique constraint on move sequence of fiscal year
Closes #13996
2025-05-08 09:28:55 +02:00
Cédric Krier 47c173f74b Do not use OFX balance statement if the balance date is not the statement end date
The bank can put a balance for the statement at a different date than the end
date of the statement. But for Tryton the end balance must be the balance at
the end of the statement.

Closes #13982
2025-04-25 17:29:38 +02:00
Cédric Krier 8af876568f Do not deduce pending payments linked to a line from direct debit balance
The balance is calculated using the payment amount of the line which already
deduce the pending payment amount.
So such payment should not be deduced a second times from the balance.

Closes #13973
2025-04-14 12:00:58 +02:00
Cédric Krier 5b01323986 Coalesce boolean account type columns on negative clause
In SQL the negation of NULL is still NULL.

Closes #13967
2025-04-11 09:24:13 +02:00
Cédric Krier c6b4b64482 Fix typo in the label and help of address format 2025-04-27 17:52:46 +02:00
Cédric Krier ae5b18eba0 Increase version number 2025-04-28 16:40:56 +02:00
Cédric Krier 04487b81d4 Prepare release 7.6.0 2025-04-28 16:12:25 +02:00
Cédric Krier 57b8d11d22 Always fill debit and credit of grouped account move line
The inherited MoveLineMixin is expecting those fields to be always filled.

Closes #13976
2025-04-18 12:30:59 +02:00
Cédric Krier 8c6eb00c2a Update incoterm scenario to use building name instead of name for warehouse address 2025-04-27 17:30:04 +02:00
Cédric Krier 87c3982ec2 Use full address to build Google Maps URL 2025-04-27 17:29:24 +02:00
Cédric Krier f11bb1bd42 Update UN/CEFACT CrossIndustryInvoice template to use structured address
Use unstructured street for Line and fill StreetName and BuildingNumber with
structured values.
2025-04-27 17:28:49 +02:00
Cédric Krier 12ce1f5c19 Update SEPA template to use structured address values
Use unstructured street as AdrLine and fill StrtNm and BldgNb with the
structured values.
2025-04-27 17:26:50 +02:00
Cédric Krier b85d6e9efa Update translations [skip ci] 2025-04-27 11:36:15 +02:00
Cédric Krier dedbd6df06 Reset to quotation Shopify sale with insufficient authorized payment amount
Shopify order can be modified from the admin in such way that the total
increase and it is only partially paid.
In such case we must prevent to process the sale by resetting to quotation
until being fully paid.

Closes #13961
2025-04-03 17:21:15 +02:00
Cédric Krier 27e674fa36 Merge company into party name for Shopify address
Since a28904ce28d5 the address name has been replaced by building name.
It was a mistake to use the address name for the company name of Shopify
address.
So instead we merge the name and company of Shopify address into the party name
of the Tryton address.
2025-04-16 09:41:11 +02:00
Cédric Krier 3979c4b89a Cancel Shopify fulfillment when customer shipment is cancelled
Closes #13954
2025-04-02 13:16:08 +02:00
Cédric Krier 2972cbb7f1 Create Shopify fulfillment when customer shipment is shipped
Closes #13953
2025-04-02 13:15:36 +02:00
Cédric Krier 68067e9a5c Re-open Shopify order when the sale is no more done
Closes #13955
2025-04-02 13:14:40 +02:00
Cédric Krier 1b50ab9624 Make lines of sales, subscriptions and purchases read only without a company and currency
Closes #13948
2025-03-27 23:07:41 +01:00
Cédric Krier 9b102df098 Forbid changing company of subscription if there are lines or invoice party set
Closes #13947
2025-03-27 23:03:40 +01:00
Cédric Krier efaccdb81b Allow to update production cost price updated of stock move in a closed period
The update of a production cost can happen when the input moves are in a closed
period.

Closes #13944
2025-03-26 23:58:06 +01:00
Sergi Almacellas Abellana 637c4112dc Do not skip other invoices when printing an invoice that has a cache
Closes #13968
2025-04-17 00:04:15 +02:00
Cédric Krier ac42d79df7 Document setup of Shopify variants 2025-03-09 10:30:46 +01:00
Cédric Krier a56834c421 Document that Modify Header wizards are recalculating lines 2025-03-10 13:46:00 +01:00
Cédric Krier 716b0b2ed6 Remove access right tests in scenario
The access rights are now only a configuration matter.
2025-03-30 15:22:07 +02:00
Cédric Krier 86c60f700c Do not fill to_post_number with empty value in Sendcloud parcel 2025-04-15 21:27:51 +02:00
Cédric Krier 274f2a3941 Support structured address in shipping services 2025-01-25 13:21:21 +01:00
Cédric Krier 2e0ecbabf5 Add numbers property to address 2025-01-25 13:20:36 +01:00
Cédric Krier b2401ede71 Force update of address format 2025-01-25 01:14:12 +01:00
Cédric Krier 0d1da7c1b4 Add structured address 2025-01-25 13:21:34 +01:00
Cédric Krier 8043c1f6cd Fill secondary unit from product customer
Closes #2294
2025-04-14 18:19:25 +02:00
Maxime Richez 8129eb4bfc Fill secondary unit from product supplier
Closes #13933
2025-04-14 18:56:45 +02:00
Cédric Krier faca1dd187 Order bank account per owners
Closes #13937
2025-03-24 18:44:31 +01:00
Cédric Krier d68df1a8e6 Store payable bank account number on SEPA payment
This allows the user to select the bank account to use for the payment instead
of the first IBAN.
Also it stores the bank account that was selected by default on processing.

Closes #13938
2025-03-24 23:10:42 +01:00
Cédric Krier 2a85bd2a14 Remove test on the returned value from production _move method
The method always returns a stock move.
2025-03-27 00:26:53 +01:00
Cédric Krier 43dff0d4f6 Add method to prepare stock move from a BOM input or ouput
This allows customization of the stock move using data from the BOM.

Closes #13945
2025-03-27 00:25:18 +01:00
Cédric Krier 3a0892126d Set cursor on product field in opportunity line form
Since 9ec3b6ddc7ec the product is no more the first focusable field but it
stays the first useful to have the focus.

Closes #13908
2025-03-31 18:23:37 +02:00
Cédric Krier 130da3b56d Archive Shopify products removed instead of deleting them
Such that customization made from the admin interface are preserved if the
product is republished.

Closes #13962
2025-04-04 00:27:57 +02:00
Cédric Krier d169592a30 Do not update Shopify product with empty product description
Closes #13963
2025-04-04 00:37:39 +02:00
Cédric Krier fff5663ae1 Add DecimalNull as tools 2025-04-08 09:59:33 +02:00
Cédric Krier 88b9c02577 Prevent to revise multiple times the same asset with the same invoice line
Closes #13970
2025-04-11 13:24:16 +02:00
Cédric Krier 703223faf7 Do not set more than the fulfillable quantity in Shopify fulfillment
Closes #13956
2025-04-02 17:29:47 +02:00
Cédric Krier 275248478a Ensure the contextual company is not None and positive before using it
Closes #13868
2025-03-10 23:43:49 +01:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier b2d84f32c2 Reset sale and shipment to draft before delete
Since 6c72b78d92d8 the documents are no more automatically cancelled prior
deletion.
2025-04-07 00:27:05 +02:00
Cédric Krier b7e5b7d865 Remove coupon name in Vue Storefront test
Since 5f9f977bfd12 there is no more a name field on coupon.
2025-04-07 00:25:13 +02:00
Cédric Krier 9ba7970f41 Check invoice state only for modified lines with an invoice
Since 6c72b78d92d8 the rewrite of the check did not skip invoice line without
invoice.
2025-04-07 00:23:44 +02:00