Cédric Krier
aa0bf2e7ba
Reset to draft sales updated from Shopify
...
As the update from Shopify may need to add new lines which can only be created
for a draft sale.
Closes #14099
2025-07-02 13:25:56 +02:00
Cédric Krier
038230eb91
Do not clear existing product of sale line when update from Shopify
...
Closes #14098
2025-07-02 11:42:14 +02:00
Cédric Krier
08d0789e0b
Allow editing product on confirmed sale line with Shopify identifier
...
Closes #14096
2025-07-02 10:23:03 +02:00
Cédric Krier
9a94f06da6
Do not crash if there is no Euro currency defined for intrastat reports
...
Closes #14050
2025-07-11 22:43:56 +02:00
Cédric Krier
cc67a9b121
Do not fail to compute price when carrier has no price list per weight
...
Closes #14111
2025-07-11 09:41:35 +02:00
Cédric Krier
380f7c6941
Slugify filename of email attachment
...
This gives more chance for the email to not be blocked as some mail server
implement restrictions on the filename of attachment.
Closes #14074
2025-06-15 12:19:39 +02:00
Cédric Krier
13eb20f6b2
Use the actual Shopify values for scope in documentation
2025-05-07 19:13:03 +02:00
Cédric Krier
d3ca288917
Round commission amount using price digit in reporting
...
Closes #14049
2025-06-10 19:52:29 +02:00
Cédric Krier
6718a613cf
Convert UnidentifiedImageError from PIL into validation error
...
The image conversion that are done as preprocessing of the user input should be
considered as data validation.
Closes #14084
2025-06-18 01:26:39 +02:00
Cédric Krier
d1b33c2dc0
Define product variable to raise error when cost price expression is not a Decimal
...
The product variable is used to format the error message but also as for
50bf49b7b031 it may be empty.
Closes #14062
2025-06-10 18:12:43 +02:00
Adrià Tarroja Caubet
4b07c0d666
Inherit marketing reporting abstract models in right order
...
Abstract models should be always the last in inheritance because
they are object when optional dependencies are not activated
Closes #14057
2025-06-13 10:56:40 +02:00
Cédric Krier
7425bc176a
Use dedicated list view to display children line on budget form
...
We do not need to full record name but just the current name when editing
children from the parent form.
2025-05-10 11:57:50 +02:00
Maxime Richez
776814ba5c
Convert shipments set to list when calling set_measurements
...
Closes #14071
2025-06-13 15:57:31 +02:00
Cédric Krier
ed1e9d8916
Fill payment amount cache only when cache column is added by register
...
Closes #14034
2025-06-02 10:54:15 +02:00
Cédric Krier
593c8f0aea
Use AND-ed clause when searching for implicit location for internal shipment
...
88978685 added a clause on the type but using an OR-ed clause which includes
all the storage locations instead of only the storage location with a
provisioning or overflowing location.
Closes #14016
2025-05-13 18:49:32 +02:00
Cédric Krier
ae71913833
Add transition from packed to cancelled for internal shipment
...
Since fee9e4e8c864 the internal shipment has a new packed state that can be
cancelled.
Closes #14053
2025-06-05 16:43:10 +02:00
Xavi Hermoso
3e4fea4b3c
Set default flag to False in Own Requisition rule group as it is linked to Purchase Requisition group
...
Closes #13930
2025-03-20 12:22:47 +01:00
Cédric Krier
312ae7b387
Forbid to set closed account on statement rule line
...
The domain must be the same as account domain of statement line.
2025-05-31 14:41:01 +02:00
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