Commit Graph
1872 Commits
Author SHA1 Message Date
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
Cédric Krier f69fa14b74 Use msg_gettext to translate SEPA mandate title
Closes #13722
2024-12-01 19:05:34 +01:00
Cédric Krier a6ba7caead Enforce empty value for input and output production on stock move with id
The domain for Many2One is based on the target not the field value.

Closes #13721
2024-12-01 18:38:35 +01:00
Cédric Krier 1a835acf6d Do not convert invoiced quantity if sale has not unit when computing credit amount
Closes #13715
2024-11-29 14:12:01 +01:00
Cédric Krier 27e589ccd7 Do not set empty To, Cc nor Bcc in email message
Since gh-102988, email.utils.getaddresses() return [('', '')] for invalid email
addresses which includes empty string if the header is set with an empty list.

Closes #13649
2024-11-18 08:44:57 +01:00
Cédric Krier 7948557d03 Clear view type of price list line context
68816ce94559 moves the definition of the context view to product_price_list
module and convert the existing view to inherit it. But inheriting view must
not have a type.
2024-11-24 14:15:25 +01:00
Cédric Krier 4b5fa06b60 Do not deactivate product in replacement wizard
If the product can be deactivated, it must be deactivated using the proper
method so all the operations like deleting staging and draft moves are
performed. Otherwise the stock moves for the deactivated product will stay.

Closes #13677
2024-11-13 13:19:25 +01:00
Cédric Krier f358b1fc1c Set default state when production moves from BOM
The visibility of some fields depend on the state so it is better to set it.
2024-11-13 11:14:35 +01:00
Cédric Krier 70e1b5bfad Fill unit price required when creating production moves from BOM
Since 23a3a9ed13d7 the unit price is reset to None if the unit price is not
required.
So the client must known that the unit price is required to keep the value.

Closes #13674
2024-11-13 11:10:05 +01:00
Cédric Krier ccd026c9c6 Compute maturity date of grouped account move lines per debit/credit
Closes #8876
2024-10-23 20:02:00 +02:00
Cédric Krier 21d30ebd42 Use defaultdict when computing grouping move lines 2024-10-23 19:54:03 +02:00
Sergi Almacellas Abellana c1e41fdfa2 Add final dot on dunning email help texts 2024-10-29 09:42:47 +01:00
Cédric Krier 6e3817ba05 Add equivalent domain of SQL constraints
When possible we should also add a domain so the client can provide better
feedback to the user.

Closes #9432
2024-10-27 16:20:45 +01:00
Cédric Krier b68ea11ed7 Remove unused dashboard cache 2024-11-06 17:57:56 +01:00
Cédric Krier 56afef04ec Clear view caches when dashboard fields of user are modified
Closes #13662
2024-11-06 17:57:35 +01:00
Cédric Krier beddddb6d8 Order tariff codes by sequence with null first
Closes #13655
2024-11-05 16:27:12 +01:00
Cédric Krier eb5ef7a443 Limit edition access on tariff codes of products to customs administrator
Closes #13656
2024-11-05 16:37:12 +01:00
Xavi Hermoso 27b672660a Update purchase requisition state when purchase request state is updated
Closes #13599
2024-11-24 18:47:43 +00:00
Cédric Krier 244d20f71c Relink stock moves to drop shipment after amending sale lines
Closes #13647
2024-11-04 16:45:49 +01:00
Cédric Krier ba38191f27 Set payment method and source name as class method 2024-10-29 12:01:00 +01: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
Cédric Krier efab20b746 Add missing depends to counterpart intrastat property
Since 6bd1cdd44b6d the counterpart property is used for lost and found move.

Closes #13634
2024-11-19 16:50:36 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier 7449eda49c Rename ir.model 'model' field into 'name' 2024-11-16 21:17:55 +01:00
Udo Spallek a89fc8bf1c Rename ir.model 'name' field into 'string' 2024-11-16 21:18:38 +01:00
Cédric Krier a44d43f09b Update digits in project invoice test scenario
Since 7c7f60798d49, get_total is always rounding the value with the currency
digits.
2024-11-16 21:57:09 +01:00
Cédric Krier 8397a314be Replace Many2Many by One2Many to stock move on forecast line
Closes #9243
2024-10-24 01:44:34 +02:00
Cédric Krier b58bb45544 Remove unnecessary invoice transition from cancelled to posted
cbb381841768 added it but it is not necessary because process use _post method
to set back the invoice to posted.

Closes #13619
2024-10-29 17:09:59 +01:00
Cédric Krier 7fafdf6af8 Set planned date of moves for all productions at once
Closes #8873
2024-10-23 19:30:17 +02:00
Cédric Krier a3568f6bb0 Do not update planned date of production moves if it is not needed 2024-10-23 19:34:26 +02:00