Cédric Krier
b0f7d45254
Manage readonly wizard
...
readonly wizards do not check for write access on the active model.
Closes #13989
2025-04-29 09:31:05 +02:00
Cédric Krier
ea26652f45
Simplify tests by using movable property of line instead of product type
2025-07-10 17:52:16 +02:00
Cédric Krier
6cda4cf48d
Replace checkout wizard by values returned by button_action
...
Closes #14076
2025-06-22 12:57:15 +02:00
Cédric Krier
20e8d5761c
Use email tools to format address for marketing email
...
This supports sending email with local-part containing non-ASCII characters.
Closes #14138
2025-07-30 00:21:34 +02:00
Cédric Krier
720bd01f04
Enforce non-goods product to not be consumable
...
Closes #14132
2025-07-24 10:36:30 +02:00
Cédric Krier
b05dd58da8
Make component fields readonly on non draft sale and purchase
...
Closes #14130
2025-07-23 18:03:49 +02:00
Cédric Krier
ec36d50273
Forbid to select the invoice company as consolidation company
...
Closes #14126
2025-07-22 13:37:58 +02:00
Cédric Krier
b47558053e
Fix extras_depend name in tryton.cfg
...
Closes #14122
2025-07-15 17:56:59 +02:00
Cédric Krier
9b6ea0ae6a
Do not fail to duplicate lot with an empty lot list
2025-07-15 17:44:06 +02:00
Cédric Krier
9c1824a913
Initialize recent date when closing periods with empty period list
2025-07-15 17:45:18 +02:00
Cédric Krier
8f9db42bc7
Do not fail to open product category to add products without any categories
2025-07-15 17:42:16 +02:00
Cédric Krier
549370459d
Set shipment cost method on Shopify sale only if a carrier is set
...
Closes #14105
2025-07-07 11:20:12 +02:00
Cédric Krier
bf18b966b8
Use quantity set on the line to compute unit price from Shopify order
...
The quantity of the line item may be different if part of the line item has
been refunded or cancelled.
Closes #14103
2025-07-04 10:15:23 +02:00
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