Commit Graph
59352 Commits
Author SHA1 Message Date
Cédric Krier f2fa5ea0f8 Set web shop currency and methods on sale after calling on_change's
The on_change_party set the default currency from the company and methods from
the party.

Closes #14149
(grafted from 28c6378e6e274df23e31f85bdc9062a28f2b6fdd)

--HG--
branch : 7.0
2025-08-07 10:28:09 +02:00
Cédric Krier f69b50af84 Clear the Shopify tax adjustment before recalculating it
Closes #14143
(grafted from 27d0430555b070fcca637c9a0dab40c083d7db15)

--HG--
branch : 7.0
2025-08-21 10:38:46 +02:00
Cédric Krier 782c141134 Set selected class before changing current record and do not rely on toggle
The class must be set before changing the current record because the property
selected_records relies on the classes and this method is called when changing
the current record to set the sensitivity of the buttons.
Also clicking a second time on the row must unselect the row which is not
possible to implement with the toggling of the class.

Closes #13980
(grafted from 8ab0895c5f6dc5bdfa96756c1abd3ab368bbf754)

--HG--
branch : 7.0
2025-08-01 11:08:58 +02:00
Cédric Krier fe426fc9ce Ensure date in log window is always a string
The date can be null for example for record having been just created without
any modification later.

Closes #14142
(grafted from b0e8386a00d05907b3ac06bfd03810d6a0d5f886)

--HG--
branch : 7.0
2025-08-01 10:20:59 +02:00
Nicolas Évrard 8c4d0224e6 Use the canonical name of the test timezone
Closes #14170
(grafted from 38c8bbe6c090fa62530b010065565bd38700f84a)

--HG--
branch : 7.0
2025-08-18 11:35:25 +02:00
José Antonio Díaz Miralles cab505aa84 Include the period in the nested part when searching the invoice party of lines
Closes #14125
(grafted from d582b659c4bc7fde91efcb84d067351552cfdd5c)

--HG--
branch : 7.0
2025-08-12 00:15:43 +02:00
Cédric Krier 21e86c0e3c Test if party is set before using its record name for reconciliation error message
Closes #14127
(grafted from 2577aff9a26a61170862131e2dd0eec9e4ace563)

--HG--
branch : 7.0
2025-07-30 15:12:15 +02:00
Cédric Krier a2daa767d4 Forbid to select the invoice company as consolidation company
Closes #14126
(grafted from 9fd54e838e7867dc59b48d2eef305463b1f0bb17)

--HG--
branch : 7.0
2025-07-22 13:37:58 +02:00
Cédric Krier a7837f813f Fix extras_depend name in tryton.cfg
Closes #14122
(grafted from eae134482d08154a6ab9195dd634ab3a23c0796d)

--HG--
branch : 7.0
2025-07-15 17:56:59 +02:00
Cédric Krier 18c6c762d6 Do not fail to duplicate lot with an empty lot list
(grafted from 5abc24aaecd7a021dff02d77d83b8e19b9c0acf6)

--HG--
branch : 7.0
2025-07-15 17:44:06 +02:00
Cédric Krier 0f18792952 Initialize recent date when closing periods with empty period list
(grafted from beed0d8fffcf8aa86ac5e6a2fe50adbfb7e5adcc)

--HG--
branch : 7.0
2025-07-15 17:45:18 +02:00
Cédric Krier 2c8e0256cd Do not fail to open product category to add products without any categories
(grafted from 72db56e056c39546a146bf57b60246428ed79f6c)

--HG--
branch : 7.0
2025-07-15 17:42:16 +02:00
Cédric Krier 94ab53a27f Set default values for fields of button_change decorator
Closes #14120
(grafted from 8210e7db85599228bcdb65019e8cbfab6b913334)

--HG--
branch : 7.0
2025-07-15 17:37:59 +02:00
Cédric Krier 98569ef71c Recursively set values on record for xxx2Many fields
The values for wizard may be a list of dictionaries for xxx2many fields.

Closes #14055
(grafted from d86fc16613d824588b6532d3220ad48986f39f44)

--HG--
branch : 7.0
2025-07-11 23:14:50 +02:00
Cédric Krier 3fe4efe4e4 Set shipment cost method on Shopify sale only if a carrier is set
Closes #14105
(grafted from 83baf33015e42627c3fcebc8e1becac41c1260b1)

--HG--
branch : 7.0
2025-07-07 11:20:12 +02:00
Cédric Krier 74a7ee5a1d 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
(grafted from 98b1e09aecad37afc1c9ae630f855d46da96b640)

--HG--
branch : 7.0
2025-07-04 10:15:23 +02:00
Cédric Krier b80eb0af20 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
(grafted from d899456fefd6d8a0b00dfcc1dffcc3c8613d97b4)

--HG--
branch : 7.0
2025-07-02 13:25:56 +02:00
Cédric Krier f77c3a7d4b Increase version number
--HG--
branch : 7.0
2025-08-01 23:41:59 +02:00
Cédric Krier 1697674127 Add tag account_stock_eu-7.0.4
--HG--
branch : 7.0
2025-08-01 23:41:53 +02:00
Cédric Krier eb545b05a8 Prepare release account_stock_eu-7.0.4
--HG--
branch : 7.0
2025-08-01 23:41:52 +02:00
Cédric Krier 4b783fb1c8 Increase version number
--HG--
branch : 7.0
2025-08-01 23:40:47 +02:00
Cédric Krier 52d92d2f7d Add tag carrier_weight-7.0.1
--HG--
branch : 7.0
2025-08-01 23:40:41 +02:00
Cédric Krier 01afe63c4c Prepare release carrier_weight-7.0.1
--HG--
branch : 7.0
2025-08-01 23:40:40 +02:00
Cédric Krier a6945d14c9 Increase version number
--HG--
branch : 7.0
2025-08-01 23:39:36 +02:00
Cédric Krier 62365c01c6 Add tag web_shop_shopify-7.0.7
--HG--
branch : 7.0
2025-08-01 23:39:29 +02:00
Cédric Krier 25a2e1e880 Prepare release web_shop_shopify-7.0.7
--HG--
branch : 7.0
2025-08-01 23:39:28 +02:00
Cédric Krier 08bca7a9ac Increase version number
--HG--
branch : 7.0
2025-08-01 23:37:59 +02:00
Cédric Krier c94a8afd13 Add tag sao-7.0.34
--HG--
branch : 7.0
2025-08-01 23:37:54 +02:00
Cédric Krier 11a6120e84 Prepare release sao-7.0.34
--HG--
branch : 7.0
2025-08-01 23:37:53 +02:00
Cédric Krier 9c9a1b8f02 Do not clear existing product of sale line when update from Shopify
Closes #14098
(grafted from fb2e9d4ead1a1279dca79b1fc3d1daefe9e2df90)

--HG--
branch : 7.0
2025-07-02 11:42:14 +02:00
Cédric Krier 3a6c0fa077 Allow editing product on confirmed sale line with Shopify identifier
Closes #14096
(grafted from 0ca9f2d4df106e79e0f6d4c84e670538404ffd1a)

--HG--
branch : 7.0
2025-07-02 10:23:03 +02:00
Nicolas Évrard 70f2d5c50b Set current screen context in import / export windows
Closes #14128
(grafted from 09d720be3179027f9220590b49c3be065c2cf190)

--HG--
branch : 7.0
2025-07-23 14:10:32 +02:00
Cédric Krier 6b024d527e Do not crash if there is no Euro currency defined for intrastat reports
Closes #14050
(grafted from 8b44253eff407832523cbb9e023955ee5c4a4ba9)

--HG--
branch : 7.0
2025-07-11 22:43:56 +02:00
Cédric Krier 311657c7fa Do not fail to compute price when carrier has no price list per weight
Closes #14111
(grafted from d91783838487742d829bb7984b174a7834998409)

--HG--
branch : 7.0
2025-07-11 09:41:35 +02:00
Cédric Krier 09090eb2cf Increase version number
--HG--
branch : 7.0
2025-07-15 23:07:12 +02:00
Cédric Krier 25fb6ee169 Add tag sao-7.0.33
--HG--
branch : 7.0
2025-07-15 23:07:03 +02:00
Cédric Krier 70484b1698 Prepare release sao-7.0.33
--HG--
branch : 7.0
2025-07-15 23:07:02 +02:00
Cédric Krier 03ba00ed90 Increase version number
--HG--
branch : 7.0
2025-07-15 23:05:24 +02:00
Cédric Krier fc00455871 Add tag trytond-7.0.34
--HG--
branch : 7.0
2025-07-15 23:05:10 +02:00
Cédric Krier b91e057acf Prepare release trytond-7.0.34
--HG--
branch : 7.0
2025-07-15 23:05:09 +02:00
Cédric Krier d9b65cd5dd Stop propagation of click event on button in tree view
If the button is going to be executed, the selection of the row must not change
so the propagation must be stopped before reaching the row.

Closes #14118
(grafted from b6496a9986e52e6573e45e422d5535362744938f)

--HG--
branch : 7.0
2025-07-11 15:19:22 +02:00
Cédric Krier f07f5f0792 Do not restore values for created records when exception is raised when saving
Once a record has been created, the id is modified which change its hash value
such that it can not be found anymore.
But as the creation succeeded (and only the write part has failed) we can just
restore the values to None.

Closes #14093
(grafted from a56b25f536568b808bc4c57b6cee03408eaf06f2)

--HG--
branch : 7.0
2025-06-29 19:13:42 +02:00
Cédric Krier 28a069fae3 Do not change the selection of row when starting the edition
The edition of tree row relies on having the current record of the screen set
to the row edited. This can be only guarantee if we do not change the
selection.

Closes #14097
(grafted from 64ddd011cdc1a25649f0f0fa68255073e70d3e84)

--HG--
branch : 7.0
2025-07-15 10:21:18 +02:00
Cédric Krier 548a1dcff1 Do not set Content-Length header to data response
Since version 0.8 werkzeug set the header automatically by default.

Closes #14010
(grafted from 5d2842d92f356a260afaa974ab5a413031505e95)

--HG--
branch : 7.0
2025-06-21 23:02:52 +02:00
Cédric Krier b9258bc460 Increase version number
--HG--
branch : 7.0
2025-07-01 23:32:37 +02:00
Cédric Krier 863c7e7e08 Add tag account-7.0.21
--HG--
branch : 7.0
2025-07-01 23:32:28 +02:00
Cédric Krier 15544e5dce Prepare release account-7.0.21
--HG--
branch : 7.0
2025-07-01 23:32:27 +02:00
Cédric Krier 8f55721773 Increase version number
--HG--
branch : 7.0
2025-07-01 23:29:21 +02:00
Cédric Krier b8ca0b2c9f Add tag marketing_campaign-7.0.2
--HG--
branch : 7.0
2025-07-01 23:27:00 +02:00
Cédric Krier 4dadbf62c1 Prepare release marketing_campaign-7.0.2
--HG--
branch : 7.0
2025-07-01 23:26:59 +02:00