Commit Graph
1902 Commits
Author SHA1 Message Date
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
Cédric Krier c40169b8a9 Do not call next_party for account without party required
next_party assign a list with None as parties for the account without party
required. But since 81e16830e46e it is no more valid.
Instead we need to manage account without party explicitly without calling
next_party.

Closes #13760
2024-12-17 17:31:57 +01:00
Cédric Krier 16da4be04f Add report data to header_key
Closes #13627
2024-10-24 18:11:42 +02:00
Cédric Krier 5966a42979 Add reporting with latest date and amount per statement journal
Closes #9330
2024-12-16 09:39:07 +01:00
Cédric Krier 935307dbb2 Add scheduled task to confirm sales based on payment
Closes #13625
2024-10-24 16:01:38 +02:00
Cédric Krier 051bbb3087 Allow customizing the move date created by receivable rules 2024-12-08 11:43:26 +01:00
Cédric Krier 54672a40a9 Set a period from the company of the receivable rule creating move
Closes #13740
2024-12-08 11:41:03 +01:00
Cédric Krier 34df4552e5 Limit inbound email result to ModelStorage and ModelView 2024-11-16 18:43:16 +01:00
Cédric Krier f0b231d474 Do not check credit limit if the amount is negative or zero
Closes #13720
2024-11-30 23:50:59 +01:00
Cédric Krier 66253fbf37 Use warning format for credit limit warning name
Closes #13719
2024-11-30 23:46:57 +01:00
Cédric Krier 3d12183ebd Return credit limit amount for sale in company currency
Closes #13718
2024-11-30 23:43:00 +01:00
Cédric Krier df1021103f Add company argument to check credit limit
Closes #13717
2024-11-30 23:38:16 +01:00
Cédric Krier 11d2468887 Set unit id in context to compute price of consignment 2024-10-22 00:12:22 +02:00
Cédric Krier 839d952e80 Set company id as context to compute today when creating purchase from request 2024-10-21 22:21:31 +02:00
Cédric Krier c833195650 Set default integer digits to None 2024-11-25 23:47:12 +01:00
Nicolas Évrard 294f2d1474 Allow searching on subdivision shorter code
When searching with a pattern, the shorter code is also tested.

Closes #13564
2024-12-15 12:53:34 +01:00
Sergi Almacellas Abellana 26abd6635d Improve labels input and output materials of production and BOM 2024-12-14 12:08:49 +01:00
Cédric Krier d86eeeb5c5 Retrieve tax rounding configuration using the company of the taxable
Closes #13688
2024-11-15 18:06:45 +01:00
Cédric Krier e9104be1ee Round together only taxable lines with the same taxes and sign
The rounding error must not be distributed between taxable lines having
different taxes otherwise the tax amount is not stable for the same base
amount.

Closes #13673
2024-11-12 17:39:42 +01:00
Cédric Krier 44b55e28f4 Use party access for address, contact mechanism and identifier 2024-11-08 16:26:01 +01:00
Maxime Richez 822ef93cd7 Add Brazilian, Canadian and Croatian tax identifiers
Closes #13678
2024-12-12 23:45:51 +01:00
Cédric Krier fe852af844 Merge move description with description on general ledger line
By using the move origin as fallback of the line origine, the description is
computed as the move description.

Closes #13696
2024-11-20 15:14:49 +01:00
Maxime Richez b502f39d6e Replace co_rut for co_nit as tax identifier
Closes #13679
2024-11-13 15:50:38 +01:00
Cédric Krier 3e45df410f Show only storage, view and warehouse locations by default
Closes #13711
2024-11-28 22:14:05 +01:00
Cédric Krier 7a03020543 Assign customer moves when drop shipment is shipped
Closes #13648
2024-11-04 16:43:16 +01:00
Pedro Nuñez 7b67ad7891 Exclude report revisions from invoice copy
Closes #13698
2024-12-08 00:10:32 +01:00
Sergi Almacellas Abellana 659f25e14f Cast excluded from sii as boolean before grouping
The value may be None which should be grouped with false values

Closes #13734
2024-12-05 15:54:50 +01:00