Commit Graph
58863 Commits
Author SHA1 Message Date
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 5d9be5e253 Accept object has type for Greater statements
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.

Closes #13645
2024-11-04 13:09:34 +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 9d12fbf307 Take the first item of single value only with 'in' operator
Closes #13403
2024-10-28 00:39:53 +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 18280c96af Add tag 7.4.0 2024-11-04 18:23:54 +01:00
Cédric Krier dc470fe1f4 Prepare release 7.4.0 2024-11-04 18:23:40 +01:00
Cédric Krier 3c6a527b56 Reorder trytond documentation 2024-11-04 09:51:15 +01:00
Cédric Krier 43790f90dc Do not add field in optional menu if it is excluded
Closes #13618
2024-10-22 19:47:27 +02:00
Cédric Krier 2a7c3dc2a2 Load sequence field value of previous record before setting sequence
Closes #13604
2024-10-15 14:50:08 +02: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
Cédric Krier 2612aced12 Fix missing target field in operand of domain 2024-11-01 09:00:07 +01:00
Cédric Krier e61143c7ec Use type and closed to filter account on analytic rule instead of view type
The view type has been removed since 6b76c4de4813.

Closes #13641
2024-11-01 08:59:13 +01:00
Cédric Krier e5c4b1b1c2 Use default email policy to parse raw email
The default policy uses the EmailMessage class instead of the Message class
from the compat32 policy.
The EmailMessage decodes automatically the header values.

Closes #13607
2024-10-19 16:24:29 +02:00
Korbinian Preisler cbee496373 Add German translation of universal chart of account 2024-10-31 09:45:45 +01:00
Sergi Almacellas Abellana 954c6c233a Add Spanish translation of universal chart of account 2024-10-31 09:25:58 +01:00
Cédric Krier 1c40ca075e Allow passing the output directory of check scripts as argument
Such that the script can be used to regenerate the files in the repository if
the root directory is passed.
2024-10-31 09:15:23 +01:00
Cédric Krier 8e5b459d76 Add French translation of universal chart of account 2024-10-30 22:55:00 +01:00
Cédric Krier 83037ea151 Check in CI other modules that extend universal chart of accounts 2024-10-30 22:24:51 +01:00
Cédric Krier ae26cabdb0 Standardize and minimize output of XLST
This prevent to regenerate existing versions because a new version is added.
2024-10-30 19:23:06 +01:00
Cédric Krier 015f454609 Add CI check for chart of accounts 2024-10-30 19:02:22 +01:00
Cédric Krier a79563f514 Add XSL filter on record with chart attribute for account SYSCOHADA 2024-10-30 19:02:00 +01:00
Korbinian Preisler e9f5155062 Fix typo in word Litigation of universal account chart template 2024-10-29 20:53:20 +01:00
Cédric Krier e5658ccf92 Fix missing target field in operand of domain 2024-10-30 11:24:15 +01:00
Cédric Krier 1fdda8bdb2 Fix missing target field in operand of domain 2024-10-29 19:56:58 +01:00
Cédric Krier ce7be2e628 Do not try to paste empty clipboard as row
Closes #13613
2024-10-22 01:41:28 +02:00
Cédric Krier e1aa6a9642 Support widget with search_remote when pasting rows
Since 4db597e5b08c the widget value is not set automatically if there is only
one result.

Closes #13612
2024-10-22 01:39:29 +02:00
Cédric Krier ec70ef4203 Save each valid record pasted
Closes #3312
2024-10-22 01:18:57 +02:00
Cédric Krier ec33e1c3bf Test autocomplete of postal code and city on address 2024-10-19 23:49:41 +02:00