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
Cédric Krier
8f570007f0
Set planned date when creating production moves
2024-10-23 19:27:28 +02:00
Cédric Krier
ab23b19d4e
Round work total with currency digits in get_total
...
This allows to extend the computation methods without rounding too early.
2024-10-14 18:50:59 +02:00
Cédric Krier
315064677a
Extract timesheet cost computation from _get_cost
...
This allows customization to use different composition of the costs.
2024-10-14 18:39:58 +02:00
Cédric Krier
53c042971b
Group locations under the first requested location when computing stock quantities
...
This reduces the number of unnecessary intermediary results.
Closes #8594
2024-10-22 15:04:52 +02:00
Cédric Krier
31d53ba7a5
Reduce access to dictionary keys when computing stock quantities
...
#8594
2024-10-22 14:59:18 +02:00
Cédric Krier
462853ef3d
Do not store period cache for empty quantity
...
This prevents to create a record for product that are no longer in the stock.
Closes #8151
2024-10-22 13:44:41 +02:00
Cédric Krier
b86d70c701
Use the party currency added by account module for credit limit
...
Closes #13610
2024-10-20 21:19:39 +02:00
Cédric Krier
4aa300a3e4
Search for implicit locations of type storage when generating internal shipment
...
The provisioning and overflow locations are only meaningful on storage locations.
2024-10-06 12:38:20 +02:00
Cédric Krier
fbbad830a2
Do not search for late moves when supplying stock if warning are skipped
...
For example the cron job skips the warnings so we safe some resources by not
searching for late moves.
2024-10-06 12:37:11 +02:00
Cédric Krier
fb813f5abc
Set and unset consignment origin without changing the state of the move
...
When changing the state of the move, the workflow transition of the decorated
function may filter out the move because the transition does not exist for the
new state.
Closes #13623
2024-10-24 00:52:27 +02:00
Cédric Krier
e1a5a457f3
Extend searcher for assignation required from supplier consignment
...
Closes #8893
2024-10-23 21:15:33 +02:00
Cédric Krier
d194910b72
Do not ask question on warning message about closed period
...
The client already ask a generic question to keep proceeding.
Closes #8806
2024-10-23 19:12:31 +02:00
Cédric Krier
d7c8fae637
Do not allow to add product or unit with amendment if there was no unit
...
Invoice lines may already exist with incompatible unit which will fail to
compute invoiced quantity.
2024-10-27 19:43:15 +01:00
Cédric Krier
0e0f5f0ec6
Do not convert invoiced quantity if sale or purchase has not unit
...
Closes #13593
2024-10-27 19:41:19 +01:00
Cédric Krier
148135ddd2
Compare purchase requests having product and purchase line
...
Closes #13624
2024-10-28 00:19:53 +01:00
Cédric Krier
e54257bf7c
Set payment term ratio and divisor to None when type is not percentage
2024-10-27 20:04:09 +01:00
Cédric Krier
bdabde97c6
Forbid to set ratio and divisor to zero for percentage payment term
...
Closes #13615
2024-10-27 20:03:24 +01:00
Cédric Krier
ab3fecb282
Increase version number
2024-11-04 18:51:20 +01:00
Cédric Krier
dc470fe1f4
Prepare release 7.4.0
2024-11-04 18:23:40 +01:00
Cédric Krier
015c68f2c6
Update translations
2024-11-02 16:10:36 +01:00
Cédric Krier
cb1dbd007a
Update account name and code to universal chart of account in winbooks export test
2024-11-02 09:10:17 +01:00