Commit Graph
2139 Commits
Author SHA1 Message Date
Cédric Krier 75ccdb1ba2 Use -1 as fallback value for company in account domain of statement line 2025-05-31 14:40:02 +02:00
Sergi Almacellas Abellana e61ed092f6 Remove debug exception introduced by 2fbe3b55927a 2025-06-12 10:54:46 +02:00
Cédric Krier 1bc9046fbe Add test scenario for tax test wizard 2025-05-30 21:36:23 +02:00
Cédric Krier a4a655b05e Use explicit key when computing taxes and object instead of dict
This defines explicitly the available attribute and unify the use the values as
tax line instead of the keys.
2025-05-30 21:35:55 +02:00
Cédric Krier cc8901276e Round only the tax amount of the line when rounding per line
If we round the tax amount already added to the other line, the result may vary
depending on the order of the lines.
This is because round half even is used so the result may depend on the already
summed tax amounts.

Closes #14047
2025-05-30 18:10:27 +02:00
Cédric Krier 095ac6509b Use first description of statement lines as description of move line without origin
Closes #14038
2025-05-27 20:00:18 +02:00
Cédric Krier b859ee5074 Invert boolean operator when searching description with negative operator
Closes #14037
2025-05-27 19:57:03 +02:00
Maxime Richez 676050ff70 Remove useless variable quantity in explode_bom method
Closes #14036
2025-05-27 19:54:43 +02:00
Cédric Krier 6e49fd3e79 Add closed constraint on default receivable/payable account of configuration storage
The same domain constraint from the multivalue field must be applied to the
storage field.
2025-05-25 17:09:45 +02:00
Cédric Krier 0d361542fe Do not use state Function field of line to check against modification
The Function field is an helper to write PYSON statement so there is no need to
use it for checks.

Closes #14002
2025-05-08 18:36:13 +02:00
Sergi Almacellas Abellana 9ef6152a16 Do not require result nor type for inactive documents
Otherwise children documents can not be processed because the parent document
raises a RequiredValidationError when saved

Closes #14015
2025-05-12 15:17:26 +02:00
Maxime Richez 4cf2384552 Set empty currency and unit price on stock move when not required
Closes #14023
2025-05-16 13:20:28 +02:00
Cédric Krier 686c3eff35 Test on_change_notification_email of trigger 2025-05-12 00:10:33 +02:00
Cédric Krier d56984a386 Search notification email model by name
Since a4f34799 the field containing the name of the model is 'name'.

Closes #14006
2025-05-12 00:10:13 +02:00
Sergi Almacellas Abellana 9487cbe10d Make bom notebook fill all form columns
Closes #14007
2025-05-09 14:07:31 +02:00
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