100 Commits
Author SHA1 Message Date
Adrià Tarroja Caubet 6853fd0d34 Set Selection value synchronously when available
Restore the displayed value before Window.Form reads the widgets. Otherwise
rebuilding the selection may temporarily select its first option.

Closes #15117
(grafted from 0fdec92fe79648f3044c5bc10c4dd729a74028fd)

--HG--
branch : 8.0
2026-09-29 15:31:30 +02:00
Adrià Tarroja Caubet 7c9ed9957e Prevent form content from pushing chat sidebar outside viewport
Closes #15057
(grafted from 15fcaa9f473357ad63215decf5af4a1e5a0c61e6)

--HG--
branch : 8.0
2026-09-03 15:28:26 +02:00
Adrià Tarroja Caubet df5e86e6c4 Use super invoice grouping origins when extending sale for kit
Closes #15127
(grafted from 1ecc41dbcfa58486baa6272537c2f294ba4d6215)

--HG--
branch : 8.0
2026-09-28 17:47:13 +02:00
Adrià Tarroja Caubet 3863230030 Check for running deferrals when closing a standard period only
Invoice deferred creates moves only on standard period

Closes #15042
(grafted from f56a0a6d5558009b138069bdad1c3d7ff9c37c87)

--HG--
branch : 8.0
2026-09-10 08:20:15 +02:00
Adrià Tarroja Caubet 02c2c2718a Add missing transaction commit to SEPA mandate migration
The console does not commit the transaction automatically, so the updated
addresses are not persisted without an explicit commit.

Closes #15037
(grafted from e56328f60aa45be564b55b93cd0c14ba8b23458c)

--HG--
branch : 8.0
2026-08-06 13:09:48 +02:00
Adrià Tarroja Caubet 4d0ad17551 Call on_change_party without assignment in SEPA mandate migration
The method updates the address in place and returns None. Assigning its
return value to the address raises an AssertionError.

Closes #14996
(grafted from 09ace4ae51505a83d13bd3d034536a022730a2f3)

--HG--
branch : 8.0
2026-08-06 13:08:45 +02:00
Adrià Tarroja Caubet f7350f8b9d Add rpc suffix when retrying JSONRPC request
Closes #14985
(grafted from 314f4ccf52ed64542796e4cad288ef655d274b0c)

--HG--
branch : 8.0
2026-08-06 14:55:18 +02:00
Adrià Tarroja Caubet 9bc74a5eea Do not create a production request when quantities are the same
If the available quantity is exactly the same as the quantity sold, there is no
need to create a production request.

Closes #14585
(grafted from 61abfaa01954f661128f014171686a6512ffe630)

--HG--
branch : 8.0
2026-07-24 10:12:57 +02:00
Adrià Tarroja Caubet 06c8db564e Add a comma between 'set' and 'slice' in the Genshi allowed builtins
Closes #14928
(grafted from 0255fea9294bed43ca3e42186bdb52c7f22277e1)

--HG--
branch : 8.0
2026-07-04 00:17:12 +02:00
Adrià Tarroja Caubet fa6efc064a Add missing invoice address when changing party of amendment
Closes #14796
(grafted from e3a3660f987638f51e04c7023c753f2988d938fc)

--HG--
branch : 8.0
2026-06-12 23:44:04 +02:00
Adrià Tarroja Caubet f75aa3aea3 Use current record context when rendering email templates
Pass the current record context from the email dialog when fetching
template values and defaults. This keeps context-dependent models,
including table_query records, addressable after the user changes the
context.

Closes #14565
(grafted from 868b0e31fbdecc0e04b2cb1c894829c5eba19fa4)

--HG--
branch : 8.0
2026-06-06 11:47:25 +02:00
Adrià Tarroja Caubet 73bb266e2f Avoid crash on SEPA mandate report without bank
Closes #14831
(grafted from e0215f17958ae81f62403c4ff552d8551a163393)

--HG--
branch : 8.0
2026-05-13 11:25:48 +02:00
Adrià Tarroja Caubet b9ed5e4aee Remove trailing spaces from the user name in the login window
Since e19329d25a6f user login field prevents trailing or leading spaces so the
clients can remove them from the login window.

Closes #13898
2026-03-27 18:15:43 +01:00
Adrià Tarroja Caubet f34cbbcbc6 Do not re-number sales from a point of sale once they have been reopened
Closes #14568
2026-03-14 17:35:17 +01:00
Adrià Tarroja Caubet 96b876a14d Normalize Sao language codes to BCP 47 format
Normalize lang and locale values to use BCP 47 tags.

Closes #14653
2026-03-05 17:26:35 +01:00
Adrià Tarroja Caubet fc02257656 Test model context in type statement report against the right name of context
There is a typo in the model context of 'account.balance_sheet.comparison.context'.

Closes #14628
2026-01-08 17:37:09 +01:00
Adrià Tarroja Caubet e63358d39c Leave the quotation date field empty when copying sales
Closes #14358
2026-01-18 16:51:32 +01:00
Adrià Tarroja Caubet cc3184f226 Remove unused Model in account stock continental scenario 2026-01-18 14:59:49 +01:00
Adrià Tarroja Caubet 54b3c3dacc Allow the sale point group to view the main sales menu
Closes #14448
2026-01-06 22:30:59 +01:00
Adrià Tarroja Caubet 5525b195f3 Add cy_vat as tax identifier type
Closes #14381
2025-11-21 11:28:54 +01:00
Adrià Tarroja Caubet 12211186f3 Fix typo in the custom CSS theme path of tryton documentation 2025-09-22 10:24:39 +02:00
Adrià Tarroja Caubet c9d323f544 Add a timestamp parameter to the URLs of the product images
Closes #11456
2025-10-11 13:27:37 +02:00
Adrià Tarroja Caubet 3ed4e9c168 Unpack tables move when ordering by payable_receivable_date
Closes #14158
2025-08-13 11:35:04 +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
Adrià Tarroja Caubet b968ece9a7 Open CSV export file using with newline translation
The csv documentation [1] explains that file object used in writer should be
opened with newline as empty string.

[1] https://docs.python.org/3/library/csv.html

Closes #12115
2025-03-26 18:09:18 +01:00
Adrià Tarroja Caubet 6d2cfee131 Include version number on new version available message
Closes #13640
2025-03-09 11:42:59 +01:00
Adrià Tarroja Caubet d7ccb1b604 Strip accents for company name on report AEAT303
Closes #13858
2025-02-03 11:35:14 +01:00
Adrià Tarroja Caubet d98f5d0497 Add help text for subscription recurrence rule exclusive field
Closes #13480
2025-01-30 12:29:31 +01:00
Adrià Tarroja Caubet 9a26aa923b Test SEPA mandate sequence type by ordered date 2025-01-18 12:50:22 +01:00
Adrià Tarroja Caubet 7063c9db31 Order payments in payment group by date
It is the most expected order for the processing methods.
2024-12-16 13:03:04 +01:00
Adrià Tarroja Caubet b7ee7a4acd Use start and end periods for AEAT reporting 2025-01-18 11:39:42 +01:00
Adrià Tarroja Caubet cd060fc20c Sort periods in AEAT 303 report
Closes #13707
2024-11-28 11:25:55 +01:00
Adrià Tarroja Caubet fb4600e095 Add method to return spanish tax identifiers for reports 2024-05-21 13:51:25 +02:00
Adrià Tarroja Caubet 7bc1d18cca Use es_code() to render AEAT reports
Closes #13242
2024-05-07 17:32:52 +02:00
Adrià Tarroja Caubet 1a6a4ecb66 Add test scenario for inventory count with lot 2024-11-20 23:02:03 +01:00
Adrià Tarroja Caubet ed4221bc35 Rename uom to unit when computing lot quantity counted for inventory
Since 7129f417a22c uom field on inventory line has been renamed to unit.

Closes #13646
2024-11-20 23:00:34 +01:00
Adrià Tarroja Caubet 68d4cc4cc7 Save party configuration after replacing vat identifiers
Closes #13387
2024-07-03 14:14:49 +02:00
Adrià Tarroja Caubet 9828450d2f Display user on menu favorite list
Closes #13246
2024-08-27 00:04:46 +02:00
Adrià Tarroja Caubet ba02686320 Remove redundant product kit scenario testing duplicate
Closes #12880
2024-09-01 12:24:29 +02:00
Adrià Tarroja Caubet c1f60725c5 Do not copy project works nor progresses when copying invoice line
Closes #13369
2024-08-30 23:57:05 +02:00
Adrià Tarroja Caubet 2fce001bcd Fallback to 0 when time series value is None
Closes #13373
2024-08-21 09:05:33 +02:00
Adrià Tarroja Caubet 78f0aae2e2 Use empty string for empty descriptions to construct grouping key
Closes #12952
2024-08-18 14:25:54 +02:00
Adrià Tarroja Caubet f780ea15d7 Simplify statements validation messages 2024-05-21 10:11:05 +02:00
Adrià Tarroja Caubet 0ccab09c1d Clarify removal of paid invoices affects only draft statements
Closes #12957
2024-02-14 11:35:19 +01:00
Adrià Tarroja Caubet 06778fb081 Fix internal for Uruguay Tax Number
Closes #12941
2024-07-18 16:38:51 +02:00
Adrià Tarroja Caubet 2ae871ae9f Add more tax identifiers
Closes #12940
2024-07-18 17:12:02 +02:00
Adrià Tarroja Caubet 2ce93f01d9 Test if tax identifiers are also declared as identifiers 2024-05-21 10:01:52 +02:00
Adrià Tarroja Caubet d590139f93 Update TinyMCE to version 7
Closes #8683
2024-05-07 00:29:45 +02:00
Adrià Tarroja Caubet 0506c86e8c Add space after quote in message for no open fiscal year date 2024-04-30 09:44:04 +02:00
Adrià Tarroja Caubet e046274641 Clear view toolbar cache when email templates are modified
Closes #13072
2024-04-21 17:29:41 +02:00
Adrià Tarroja Caubet 6d37785d85 Fix typo when searching euro to get intrastat currency
Closes #13201
2024-04-18 10:12:18 +02:00
Adrià Tarroja Caubet 3da23862c5 Test phone number on 347 and 349 reports 2024-03-07 10:38:57 +01:00
Adrià Tarroja Caubet 1346293974 Check country code from phonenumber as int
Closes #13060
2024-02-27 13:29:54 +01:00
Adrià Tarroja Caubet 0d71ab5440 Check purchase amount is not None on compute production cost
Closes #12946
2024-01-18 10:38:07 +01:00
Adrià Tarroja Caubet 35a048deea Rename move uom to unit to compute credit limit quantity
Since 7129f417a22c the unit field has been renamed on stock move.

Closes #12875
2023-12-28 12:25:05 +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
Adrià Tarroja Caubet ac1ebd441d Add missing workflow transition to open method
Closes #12658
2023-10-22 17:25:25 +02:00
Adrià Tarroja Caubet a20253fc41 Update grouping fields methods to receive grouped instance
f6e6e1921a54 changed the property into a method with the grouped instance as
parameter. So other modules extending the method must be updated.

Closes #12634
2023-10-22 10:43:36 +02:00
Adrià Tarroja Caubet 0b08c2e786 Change currency exchange account order in form
Closes #12585
2023-09-20 17:41:09 +02:00
Adrià Tarroja Caubet 8b53bb97d5 Fix wrong eval domain field on sale line actual_quantity
Close #12568
2023-09-14 16:15:12 +02:00
Adrià Tarroja Caubet be23068f23 Do not set default value for removed consumed field when copying subscription
The field consumed has been replaced by consumed until since 3ddf6d1eab0d.

Closes #12577
2023-09-24 19:07:58 +02:00
Adrià Tarroja Caubet 4fffd30011 Fix pallet typo on docs
Closes #12520
2023-08-24 13:04:02 +02:00
Adrià Tarroja Caubet 83220a6076 Reuse cumulate per party from context as default value for general ledger line
Closes #12367
2023-07-05 16:32:56 +02:00
Adrià Tarroja Caubet cb7970a350 Reschedule planned date for late productions
Closes #11494
2023-01-18 17:34:20 +01:00
Adrià Tarroja Caubet 65c6380cad Display cost of production works
Closes #11001
2023-05-03 14:29:57 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Adrià Tarroja Caubet c6d3c06278 Add active field on operation form view
Closes #12236
2023-04-27 11:53:42 +02:00
Adrià Tarroja Caubet d1d32e6e57 Add pending window domain on payment group
Closes #9584
2023-01-19 11:38:37 +01:00
Adrià Tarroja Caubet 8d4043edf8 Skip sale lines without the type line to compute credit amount
Closes #12130
2023-03-09 15:26:25 +01:00
Adrià Tarroja Caubet 8d90322512 Do not copy production lead times of product
As the BoMs are not copied and the production lead times may have a link to
the product BoM, we should not copy them.

Closes #12104
2023-02-22 09:49:07 +01:00
Adrià Tarroja Caubet 5375918428 Include in credit amount only invoice lines of type line
Closes #12076
2023-02-14 12:48:01 +01:00
Adrià Tarroja Caubet 612ec03dce Do not check access when checking for period closed
issue11861
review431871003
2022-11-05 10:08:31 +01:00
Adrià Tarroja Caubet 86cf281e96 Display empty values on VAT Book report for None values
issue11588
review443361003
2022-10-22 01:09:53 +02:00
Adrià Tarroja Caubet feba0bbe20 Fix wrong xml id for recursion_error message
issue11727
review439581003
2022-10-21 13:25:30 +02:00
Adrià Tarroja Caubet 47dd0831ae Add intracomunitary services on intracomunitary iva devengado
issue11808
review437511020
2022-10-21 13:20:46 +02:00
Adrià Tarroja Caubet 6d3f3605fe Exclude active record from type search
issue11729
review435911044
2022-10-20 09:44:24 +02:00
Adrià Tarroja Caubet 73857bde09 Use existing XML id for messages
issue11725
review415731003
2022-10-04 18:14:05 +02:00
Adrià Tarroja Caubet aaf456fa4c Use date instead of datetime on delivery note report
issue11748
review431671003
2022-09-30 09:01:20 +02:00
Adrià Tarroja Caubet efac56bb5d Do not compare debit or credit to None when searching
issue11568
review417441003
2022-06-24 09:19:13 +02:00
Adrià Tarroja Caubet 0c564047b6 Use product record name for supplier product without name nor code
issue11532
review433201003
2022-06-21 23:40:00 +02:00
Adrià Tarroja Caubet 64e2ed34f0 Filter out empty mandates before lock
issue11537
review419251003
2022-06-20 23:43:27 +02:00
Adrià Tarroja Caubet 16275e0259 Display asserted inherit expression when nothing found
issue11560
review419311003
2022-06-15 18:59:58 +02:00
Adrià Tarroja Caubet 1b54b30a7c Do not copy avatars nor uuid
issue11518
review433161003
2022-05-25 17:38:34 +02:00
Adrià Tarroja Caubet 2f999f8d46 Clear revisions when duplicating asset
issue11274
review380401002
2022-04-19 23:24:18 +02:00
Adrià Tarroja Caubet b7f03c8207 Clear update moves when duplicating asset
issue11274
review386121002
2022-04-19 23:24:03 +02:00
Adrià Tarroja Caubet eb976f3b79 Mute reconciled payable/receivable lines
issue10951
review364371002
2022-04-11 20:13:16 +02:00
Adrià Tarroja Caubet 9fa1f8f970 Mute reconciled payable/receivable lines
issue10951
review364371002
2022-04-11 20:13:16 +02:00
Adrià Tarroja Caubet c22952d9c9 Mute reconciled payable/receivable lines
issue10951
review364371002
2022-04-11 20:13:16 +02:00
Adrià Tarroja Caubet ef3bc6c231 Mute reconciled payable/receivable lines
issue10951
review364371002
2022-04-11 20:13:16 +02:00
Adrià Tarroja Caubet ba595d5dfb Plan production for today when there is no shipping date
issue11258
review356031002
2022-02-18 09:40:35 +01:00
Adrià Tarroja Caubet 16b240c077 Reuse planned shipping date when all moves are cancelled
issue11258
review366751002
2022-02-18 09:34:30 +01:00
Adrià Tarroja Caubet c9449ec5ad Add autonomous city as subdivision type for Spain
issue11201
review389911002
2022-02-07 22:55:08 +01:00
Adrià Tarroja Caubet 64749e6dee Ignore subdivision with non valid type
issue11201
review381901002
2022-02-07 22:41:11 +01:00
Adrià Tarroja Caubet 714cff3e26 Require sequence configuration for complaint
issue11098
review387641002
2022-02-04 21:31:47 +01:00
Adrià Tarroja Caubet 9df23c1e66 Warn all past payment terms at the same time
issue11058
review376221002
2022-01-25 23:30:35 +01:00
Adrià Tarroja Caubet fedb2faeb8 Split line description only if not None
issue11174
review397151006
2022-01-25 10:01:02 +01:00
Adrià Tarroja Caubet 7e0a5db4ac Use normalized length of record name
This is needed in case the client normalize the report name before storing to
the filesystem.

issue10986
review381471003
2021-12-18 01:37:06 +01:00
Adrià Tarroja Caubet f1977fa0d5 Remove amount currency on payable and receivable lines
The amount field already display the amount in second currency.

issue10984
review372661002
2021-11-27 12:36:09 +01:00
Adrià Tarroja Caubet e35c78b5a4 Adapt tests to centimeters capitalization
issue10973
review364411002
2021-11-23 14:41:20 +01:00
Adrià Tarroja Caubet 7f9f2a9d03 Adapt tests to centimeters capitalization
issue10973
review364411002
2021-11-23 14:41:20 +01:00