Commit Graph
57552 Commits
Author SHA1 Message Date
Cédric Krier fac8bb3e18 Always trigger default branch on readthedocs
This allows readthedocs to detect new branches:
https://github.com/readthedocs/readthedocs.org/issues/9106

Closes #12694
2023-10-31 23:04:37 +01:00
Cédric Krier 6b2aa74ce5 Preserve product image ratio
Closes #12744
2023-11-14 14:18:56 +01:00
Cédric Krier e4702d47ba Do not set offset in counting domain of link
173ecc4f452d moved the offset parameter into the domain.

Closes #12725
2023-11-09 15:03:32 +01:00
Adrià Tarroja Caubet ad9c41be26 Fix typo in comment of test scenario for stock supply production 2023-11-13 00:30:34 +01:00
Cédric Krier f8a6d08b20 Test extension of invoice and shipment grouping fields 2023-11-08 11:37:38 +01:00
Cédric Krier 84318913c7 Incoterm tests depend on sale shipment grouping not sale invoice group 2023-11-08 11:36:58 +01:00
Cédric Krier b1a3e23951 Extend grouping fields with a list
4e84027dbc2e updated the grouping fields method to receive the grouped
instance but it did not adapt to the returned type which is a list.

Closes #12718
2023-11-08 00:09:37 +01:00
Cédric Krier 7fb5a0c6b8 Do not compute internal quantity for stock move created without product nor unit
Closes #12716
2023-11-06 18:02:23 +01:00
Cédric Krier d9ace5f731 Properly use resources files from importlib
Closes #12706
2023-11-04 19:32:22 +01:00
Cédric Krier 258912e273 Allow to freeze tryton on OS without python
Use python version defined in the setup.py shebang instead of the generic
python.
2023-11-04 14:05:12 +01:00
Nicolas Évrard 02650a0ffd Share record's _ids when saving new records
Closes #12657
2023-11-11 13:48:16 +01:00
Cédric Krier d35d519ea1 Do not try to compute promotion quantity for lines without type line
Closes #12351
2023-11-02 16:42:45 +01:00
Cédric Krier f8ca4ce512 Avoid race condition when making directories for database cache 2023-11-01 13:27:36 +01:00
Cédric Krier 5ff3893f50 Avoid race condition when making configuration directory of tryton 2023-11-01 13:27:09 +01:00
Cédric Krier ee8782f102 Avoid race condition when making directories for filestore
Closes #12696
2023-11-01 13:26:37 +01:00
Cédric Krier 3e49835516 Update documentation link for UNECE Recommendation N° 20
Closes #12695
2023-11-01 10:06:00 +01:00
Cédric Krier 783e4364af Do not translate data type of inbound email 2023-10-21 23:21:28 +02:00
Cédric Krier ea16e4e071 Use secondary instead of second in help of Purchase Secondary UoM 2023-10-21 17:21:27 +02:00
Cédric Krier f20e941597 Display Braintree transaction ID for refund on the form 2023-10-18 13:13:27 +02:00
Cédric Krier 294f666b0d Display Stripe refund ID on the form 2023-10-18 13:12:57 +02:00
Cédric Krier bf9bfdcd8d Test JSON-RPC response ID 2023-10-22 12:19:29 +02:00
Cédric Krier 8f7ce67b20 Translate invalid response ID message 2023-10-22 12:19:54 +02:00
Juan Jose Pablos efe0f40b55 Fix typo in invalid response ID message 2023-10-22 13:42:01 +02:00
Nicolas Évrard a42cb450f7 Add timeout parameter on RPC calls
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier 6ea6082b78 Wrap long label to 80 chars
Closes #12618
2023-10-05 18:29:20 +02:00
Cédric Krier 4556b58e57 Set button sensitive on One2Many widget after screen display promise is done
The method to set button sensitive needs the view type to be set since
7d8c4076363f.

Closes #12691
2023-10-31 21:57:09 +01:00
Cédric Krier 816dd6f549 Do not union empty dict as payments when creating moves without statements
Closes #12689
2023-10-30 23:45:52 +01:00
Cédric Krier 3175c99f26 Use list to declare requirement for tryton with sound
Closes #12690
2023-10-30 23:48:16 +01:00
Cédric Krier 689382daeb Do not fail when parsing invalid Decimal value in number entry
Closes #12692
2023-10-31 21:42:11 +01:00
Cédric Krier 25f2f35fea Round with decimal digits when applying factor on float and numeric field
Closes #12692 #12669
2023-10-31 21:41:23 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 2c482926ee Add tag 7.0.0 2023-10-30 18:17:51 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c9836a6b9b Do not test multiple partial payments in test scenario
The feature is now limited to Shopify Plus organizations.

Closes #12684
2023-10-28 18:55:23 +02:00
Cédric Krier 76c00d3133 Update amount when changing unit or taxes of purchase line
Closes #12648
2023-10-29 14:23:34 +01:00
Cédric Krier 5b27ea26ce Update amount when changing unit or taxes of sale line
Closes #12648
2023-10-29 14:23:10 +01:00
Cédric Krier f1ab6513b3 Iterate over removed and deleted records when adding record to group
In Javascript for...in iterate over properties but we want to iterate over
values with for...of. Otherwise record added back is not un-removed or
un-deleted.

Closes #12663
2023-10-29 13:49:30 +01:00
Cédric Krier 204a5d7625 Set current record explicitly after loading records on screen
Since ab82d479eca1 screen load does not set current record but some widget
relies on it. So they must set explicitly the current record they need.
Also when a current record is not needed, there is no need to call display
after loading because load already calls display.
2023-10-29 12:59:58 +01:00
Cédric Krier 04af335284 Copy alternative payees of invoice if it is the only party on lines to pay
Only one alternative payee is permitted on draft invoice so we can copy it
only if there is only one and it is the one that was already set when posting
the invoice (only party that appears in the lines to pay).

Closes #12528
2023-10-28 14:04:23 +02:00
Cédric Krier 71771568e3 Apply dualmethod decorator to post method of account move
Since efdb98eb55e5 the original method is a dualmethod.

Closes #12682
2023-10-28 10:56:33 +02:00
Cédric Krier 87013b68f9 Make end amount read only on non open cash session
Closes #12677
2023-10-28 14:20:52 +02:00
Cédric Krier 1f73ac4d03 Make transfers read only on non open cash session
Closes #12677
2023-10-28 14:20:35 +02:00
Cédric Krier d9307d006e Hide payment buttons for line reconciled and of payment kind
It is not allowed to make a draft payment for a line that is reconciled.

Closes #12681
2023-10-28 10:52:41 +02:00
Cédric Krier 7105268094 Do not display in invoice report lines to pay that have been reconciled
Since f880d0a6315f the invoice report can be refreshed so only the actual
lines to pay should be displayed.

Closes #12675
2023-10-28 10:47:37 +02:00
Cédric Krier 35cff3c11c Update statement lines amount from invoice when changing origins
2b9a72775e4c made the change for on_change_lines but forgot to also update
on_change_origins.

Closes #12672
2023-10-26 17:58:18 +02:00
Cédric Krier 70dcf79404 Check access without and with domain rule at the same time for read and write
For read and write operation, we must first check without domain rule to
ensure the ids exist before testing with the domain rules.

Closes #12668
2023-10-25 16:27:58 +02:00
Cédric Krier e529c624f5 Disable switch button on non form view without selected record
This prevents to switch to a form view without a record.
2023-10-25 13:36:40 +02:00
Cédric Krier 1ab2948473 Do not set current record when displaying screen
Changing the current record while displaying trigger record_message which
calls set_buttons_sensitive. As the view is not yet updated, it is considered
as modified and the state of the buttons are no more valid.

Closes #12664
2023-10-25 12:22:31 +02:00
Cédric Krier 33de40f77b Test to_date in context to get dates for general ledger
1b3d9d7a758f added the wrong test to exclude period and dates.

Closes #12629
2023-10-21 16:21:40 +02:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00