Commit Graph
59416 Commits
Author SHA1 Message Date
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 2ed845b7e0 Compute digits of float value before applying factor
When applying the factor, we introduce new rounding issue which falsify the
computation of digits.
So it is better to compute the digits using the initial value (coming from the
string parsing) and update the digits based on the order of the factor.

Closes #13964
2025-04-04 18:51:30 +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 2aafc5626b Correctly clear all kinds of info bar messages
Closes #13951
2025-03-28 17:20:49 +01:00
Cédric Krier 3c0a1ea341 Force record message when selection has changed but not the current record
This is needed to update the toolbar label about the number of selected record.

Closes #13950
2025-03-28 17:14:12 +01:00
Cédric Krier e3ad7a6f2b Trigger record message even if current record has not changed
a2c50d4993cc disabled the trigger but it is needed to update the toolbar label
when the number of selected record is changed but not the current record.
2025-03-28 17:13:21 +01: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
Cédric Krier e45be331a7 Lock records on transaction start
Same as c8771e45b861 but when locking only records instead of the table.

Closes #13943
2025-03-27 13:39:04 +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
Nicolas Évrard 13345232ea Use hasOwnProperty to check for key presence in object 2025-04-15 18:38:45 +02:00
Nicolas Évrard 032f96cdca Do not set twice the result of an on_change call in a x2many
Closes #13971
2025-04-15 16:14:37 +02:00
Cédric Krier 27ff1ef14e Remove unused global variable in tryton plugins and rpc 2025-04-16 09:59:53 +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 220fd433c9 Add checkout option to cookiecutter command line in tutorial 2025-03-25 09:30:22 +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 854562ad6e Add default value to user in set_user testing tool 2025-03-30 15:21:11 +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 81134c70da Update window form buttons when record is modified
This synchronize the behavior of these buttons with the one from the One2Many
widget.

Closes #13949
2025-03-28 15:53:05 +01:00
Cédric Krier 3b253210ae Initialize position of One2Many widget to None/null 2025-03-28 15:51:55 +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 1d68553044 Clear browser selection when selecting multiple rows
Closes #13952
2025-03-31 23:18:30 +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 b26b3538cf Always use flex display for #tabcontent except on small screen
On form view, this put the scrollbar for long form only on the form without the
preview.
On small screen the form is switch back to block so the panel-body with the
flex-direction column push the #tabcontent to expand more than the height of
the viewport.

With the content of the preview being always visible without scrollbar (except
for the screen), we can put the navigation at the bottom as natural place.
2025-04-12 12:42:54 +02:00
Nicolas Évrard cfc38c8070 Store column widths by screen size 2025-04-14 22:57:36 +02:00
Nicolas Évrard 8b6e83e5b2 Allow column widths to be reset 2025-04-14 23:16:26 +02:00
Nicolas Évrard 93ae0df5c3 Allow column resizing in Sao
Closes #13115
2025-04-14 23:11:48 +02:00
Nicolas Évrard 15b3e1f5cf Use the position:sticky on the row of the thead
It was previously put on the th because neither Firefox nor Chrome supported it
on thead or tr but it has been solved now.

https://caniuse.com/css-sticky
2024-12-12 10:50:15 +01:00
Nicolas Évrard 4f195c7ffe Add simple chat widget on sidebar of clients 2025-04-12 17:25:28 +02:00
Cédric Krier e5c35f988b Add chat 2025-04-12 16:54:16 +02:00
Nicolas Évrard a17172f6dd Toggle the option's selected state on mousedown in the filter window
This applies the changes from 3b0ae1dadfa0 to the filter window
2025-04-12 21:32:15 +02:00
Nicolas Évrard 83d280fede Display checkbox in multiselection in the filter window
This applies the changes from 97e82c27dc17 to the filter window
2025-04-12 21:30:56 +02:00