Commit Graph
59118 Commits
Author SHA1 Message Date
Cédric Krier 6fb00e2bed Test context on target instance of One2One 2025-01-14 01:19:50 +01:00
Cédric Krier 5f3e83f66f Instantiate One2One target when the context of the field
Closes #13819
2025-01-14 01:19:00 +01:00
Cédric Krier 7aeee5f06e Test setting value to xxx2One fields 2025-01-14 01:08:05 +01:00
Cédric Krier f908ccc85a Expand dictionary value set to a One2One field
Closes #13818
2025-01-14 01:07:33 +01:00
Cédric Krier 590102e87e Remove python type inherited from Many2Many of One2One
The python type is used to test the type of value set but for One2One it is an
instance which can not be tested with a simple Python type.

Closes #13817
2025-01-14 01:04:46 +01:00
Cédric Krier 32914eff90 Move fields from specific payment method in separate page 2024-12-12 14:05:20 +01:00
Cédric Krier d880f7c32a Do not search without accent number and reference of payments 2024-12-12 13:42:24 +01:00
Cédric Krier 8636a2b771 Add payment reference in record name of payment 2024-12-12 13:41:51 +01:00
Cédric Krier 14f5953c60 Rename payment description into reference
Closes #13748
2025-01-22 10:05:33 +01:00
Cédric Krier ac65439fab Ease extending account move and line from receivable rules
Closes #13741
2024-12-09 12:02:51 +01:00
Cédric Krier 15440fa44d Add same bottom padding on panel body as top padding
When the form does not expand vertically, the last row is very close to the
border of the panel which is odd.
2024-12-12 14:09:12 +01:00
Cédric Krier 6f049b695b Set company in the context of clearing journal
Closes #13591
2024-10-10 17:00:14 +02:00
Cédric Krier 492fb7731b Switch to searchable view when trigger search menu
Closes #12743
2024-12-31 01:15:42 +01:00
Adrià Tarroja Caubet 9a26aa923b Test SEPA mandate sequence type by ordered date 2025-01-18 12:50:22 +01:00
Cédric Krier b0fa1dd28e Sort SEPA payments by date
In order to compute the proper sequence type, the payments must be ordered by
ascending date in case there are many payments for a first used mandate.

Closes #12614
2025-01-18 12:57:41 +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
Cédric Krier 58b10f68df Sanitize attachment filename for incoming document from email
When creating document incoming from email's attachments, the filename value
must be sanitized as there is no control on the data.

Closes #13801
2025-01-08 17:35:27 +01:00
Cédric Krier d25d05bb4b Propagate record modified to parent screens
It is needed to reach the top window and update the button sensitivity.

Closes #13798
2025-01-06 18:22:29 +01:00
Cédric Krier f42f4eba6e Add super call to setUpClass in custom test case
This is needed to catch the Python warnings.
2025-01-03 23:51:00 +01:00
Cédric Krier 4ff7ca6d6e Use None as default value for module of view
Since 53fc70c2139f the module column of ir_ui_view has a foreign key constraint
on ir_module table so the default value must be NULL to ignore the constraint
when there is no module.

Closes #13816
2025-01-13 19:28:18 +01:00
Cédric Krier 1f0b754785 Fill production moves with all default values
When used for on_change, we need to fill all the default values as the client
does create new record with default values.

Closes #12575
2024-12-26 16:12:10 +01:00
Cédric Krier 77bb47a3a4 Make field_names optional in Model.default_get 2024-12-26 16:08:18 +01:00
Cédric Krier eda1f8e7de Merge tax line with the same key but computed separately
Closes #13777
2024-12-24 14:54:47 +01:00
Cédric Krier bb6fe95a15 Do not run concurrently tests for french chorus account module 2024-12-30 19:08:14 +01:00
Cédric Krier 6d3103e95d Display attachment preview only on top of form view for small screen
Closes #13762
2024-12-18 17:42:45 +01:00
Cédric Krier eb6c40f135 Do not sum purchase line without amount to calculate purchase amounts
04e9bc5b56f3 removed the test against empty amount with the line test.

Closes #13784
2025-01-03 11:02:29 +01:00
Cédric Krier e656cccb7f Replace loading attribute by visible for loading xxx2Many fields with dotted notation
Override the loading attribute breaks the dependencies between fields.
Such xxx2Many becoming eager loading may miss some lazy loading fields which
may break the behavior like the domain inversion (which may set the wrong
value).

Closes #13452
2024-12-28 18:24:51 +01:00
Cédric Krier e6c82f7fc0 Correctly attribute migration steps to 6.0 series instead of 6.2 2025-01-03 14:40:08 +01:00
Cédric Krier 1b98cc52b3 Require invoice with posted move for SII
The construction of the payload relies on the invoice having an account move
posted.
2025-01-09 10:52:50 +01:00
Cédric Krier 39d47512f6 Explain why using taxes from account move lines for SII 2025-01-09 10:50:22 +01:00
Sergi Almacellas Abellana b1f8cb08b3 Use move post date as SII accounting date
Closes #13680
2025-01-07 17:34:43 +01:00
Cédric Krier ae00270ee7 Do not prevent to rewrite the same opportunity origin on sale
Closes #12517
2024-12-23 18:47:48 +01:00
Cédric Krier d1ce25bd4f Limit the worker retry delay to maximum 1 hour
Closes #13779
2024-12-26 12:47:08 +01:00
Cédric Krier 801a06970b Use proper default value for Eval on account move 2024-12-26 18:55:47 +01:00
Cédric Krier cae324ce6d Do not use empty contextual date to calculate active of party relation
Closes #13733
2024-12-26 18:54:46 +01:00
Cédric Krier 6ecd73b529 Update default_get signature to add with_default parameter
ba6b8ce0e692 extended the signature but some modules must be updated to follow
the new signature.
2024-12-26 16:16:48 +01:00
Cédric Krier 5ca8a1edf2 Restore raising KeyError when file system ID is not found
75936f10ee95 removed this behavior but some modules relies on it.
2025-01-01 20:51:44 +01:00
Cédric Krier f45f4ec348 Use company id to set context to compute today
Closes #13789
2025-01-01 20:05:24 +01:00
Cédric Krier 643dc186cd Get context from default config to get chart ID to create
49ca1e40161c replace the .find call by get_id which requires a context.
2025-01-01 19:59:35 +01:00
Cédric Krier 10c5392bea Use predefine testing payment method instead of creating one
Calling stripe.PaymentMethod.create is deprecated.
2025-01-01 19:52:58 +01:00
Cédric Krier c928c61f0e Do not initialize ir_ui_view table with model NOT NULL
Closes #13788
2025-01-01 19:15:38 +01:00
Cédric Krier 7917793f94 Search waiting marketing automation record activities using record ID
There is no custom search_rec_name for record, so all the records are valid.

Closes #13787
2025-01-01 19:07:43 +01:00
Cédric Krier a9e620a44d Save purchase request quotation before lines
This avoid warning about unsaved relation record.
2025-01-01 18:56:12 +01:00
Cédric Krier 910c61cb38 Update name of cost sale of shipments in copied default values
In 79512f8cfed1 the field has been renamed.

Closes #13786
2025-01-01 18:25:57 +01:00
Cédric Krier 62deec1671 Do not copy asset lot when copying sale subscription line
Closes #13785
2025-01-01 17:44:16 +01:00
Cédric Krier d26611be91 Add process method for Shopify payment method
Since 55db7836e132 the payment does not need to be grouped but a process method
must be implemented.
2025-01-01 17:40:41 +01:00
Cédric Krier 81669a33c9 Use proper BOOLEAN type in init SQL of SQLite 2025-01-01 17:39:20 +01:00
Cédric Krier 7f56ab27a7 Remove unused docstring
Since 23ce421d3bb9 the docstring's are no more used as string for the model.
2025-01-01 18:20:47 +01:00