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
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
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
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
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
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
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
81f674082b
Remove check_xml_record from ModelStorage
2024-11-11 15:19:51 +01:00
Cédric Krier
fabb5340e9
Always synchronize XML data with database
...
Closes #13668
2024-11-11 18:24:06 +01:00
Cédric Krier
efab50227a
Read only cost price from the history product when computing cost value
...
Closes #13767
2024-12-20 11:48:10 +01:00
Cédric Krier
afcba82077
Do not add history to unnecessary model
...
d38610e26ede added history to all related models but it is not necessary as
only the One2Many and Many2Many are needed.
If the target of a Many2One or a Reference has been deleted meanwhile then the
record may not be readable at that date.
Closes #13768
2024-12-20 11:22:47 +01:00
Cédric Krier
7b75df7e4c
Allow deleting routing or BOM linked together
...
Closes #13759
2024-12-16 18:28:21 +01:00
Cristina Sangrador
2c0f7be02d
Do not try to create periods when renewing a fiscal year without periods
...
The computation of interval raises a ZeroDivisionError because the length of
periods is 0.
Closes #13671
2024-12-28 14:00:38 +01:00
Cédric Krier
555748ef01
Process Stripe and Braintree payments on checkout
...
Closes #13691
2024-12-15 19:15:39 +01:00
Cédric Krier
001bfe69c6
Make payment group optional per process method
2024-12-15 19:06:20 +01:00
Sergi Almacellas Abellana
f9e4940ed7
Override _get_invoice_sale instead of create_invoice to set agent on invoice
...
This avoids saving invoices one by one.
2024-12-28 00:38:13 +01:00
Cédric Krier
d6e0bfc053
Add new country subdivision types
2024-12-15 15:02:40 +01:00
Cédric Krier
0206a17048
Raise a warning for unknown country subdivision type
2024-12-15 14:35:19 +01:00
Cédric Krier
b4b2b5674a
Add company in context of journal on account receivable rule
...
Closes #13742
2024-12-09 14:42:37 +01:00
Cédric Krier
43014db8ac
Test if today is using the timezone of the contextual company
2024-12-16 17:23:03 +01:00
Cédric Krier
d9b9d52643
Test if contextual company id is positive before using it to get the timezone
...
Closes #13702
2024-12-16 16:55:06 +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
Cédric Krier
c03dff9352
Support instances as default value
...
Closes #13694
2024-11-20 12:08:20 +01:00
Cédric Krier
7e5ef52975
Group on company currency in sale reporting
...
It is needed to construct unique ID when grouping by other mean than the line id.
Also the revenue is computed in the company currency.
Closes #13744
2024-12-12 00:42:58 +01:00
Cédric Krier
5b5377abca
Use payment element for Stripe checkout
...
Closes #10031
2024-11-28 11:51:20 +01:00
Cédric Krier
43ca1d4968
Use HTTPStatus for Stripe routes
2024-11-17 16:45:36 +01:00
Cédric Krier
ee49ab66f9
Include the exceeding amount in the message about credit limit
2024-10-30 17:11:43 +01:00
Cédric Krier
5ef23b4335
Improve syntax of credit limit messages
2024-10-30 16:34:14 +01:00
Cédric Krier
f5bf25a996
Use level and line name as record name for account dunning
2024-10-30 16:20:51 +01:00
Cédric Krier
5299f36eb9
Include amount in record name of account move line
...
Only the account code is used to limit the size of the name.
2024-10-30 16:19:57 +01:00
Cédric Krier
2b6166f155
Add original amounts before promotion
...
Closes #13633
2024-10-26 00:10:56 +02:00
Cédric Krier
afc6c5a913
Require draft unit price if a promotion is applied on a sale line
2024-10-25 17:21:48 +02:00
Cédric Krier
59a0a8c8a7
Enforce company of promotion using the sale line company field
2024-10-25 17:06:42 +02:00
Cédric Krier
67e200848d
Reassign points value instead of updating when changing quality control
...
The value of points is an immutable dictionary that can not be updated.
Closes #13730
2024-12-11 23:49:56 +01:00
Cédric Krier
b26ff9757e
Add metadata columns to ModelSQL with table query
...
Closes #9414
2024-10-25 00:24:39 +02:00