Commit Graph
1377 Commits
Author SHA1 Message Date
Cédric Krier 891423c6b2 Set default value from account move using line field name
Some Function fields has the move as prefix which is removed when applied to
the move. But when setting default value for the line, the move prefix must
not be removed.

Closes #12967
2024-04-27 18:36:49 +02:00
Cédric Krier f94f539158 Fix changelog of purchase request module 2024-04-30 01:47:22 +02:00
Cédric Krier 9e6789f8c1 Ensure there is a company id in the context before testing as positive
Closes #13228
2024-05-02 18:55:04 +02:00
Cédric Krier 3b7fb6adca Remove default value for unknown request_quotations field
Closes #13212
2024-04-30 18:29:24 +02:00
Cédric Krier f859c8941d Rename quality inspect wizard from Done to Completion
Following 64726d495038
2024-04-16 23:48:13 +02:00
Cédric Krier 2eaf20a461 Add shipped state to customer shipment
Closes #13150
2024-05-06 00:34:03 +02:00
Cédric Krier c80310c2dc Add warning when changing credentials
Closes #13126
2024-03-25 14:24:55 +01:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Adrià Tarroja Caubet 0506c86e8c Add space after quote in message for no open fiscal year date 2024-04-30 09:44:04 +02:00
Cédric Krier f100bb11ed Use title case for button in wizard to handle purchase request cancellation 2024-04-21 12:18:38 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier 4acd946200 Use id as default payee value on pay invoice wizard
Closes #13140
2024-04-21 15:33:42 +02:00
Cédric Krier 787595125a Depends on xxx2many fields when they are assigned by a change function
Closes #13099
2024-04-22 08:59:48 +02:00
Cédric Krier 681b5e7d64 Do not rely on taxes order to compare with default invoice line taxes
Since 6f4fa96a654c invoice line taxes are compared with the default taxes but
the order may not be the same.
The order on Many2Many is not relevant because the computation always sort
using Tax.sort_taxes.
2024-04-21 22:17:28 +02:00
Cédric Krier 490a5e2c6c Do not display cancelled moves in shipment reports
Closes #13202
2024-04-18 14:49:49 +02:00
Cédric Krier 567719b1ab Use shipment report mixin for delivery note 2024-04-18 14:49:14 +02:00
Cédric Krier 53c0edfe05 Use a set of models to compute cache key for record rules 2024-04-17 20:23:26 +02:00
Cédric Krier d4248499ca Use white background to remove alpha channel of images
Closes #13191
2024-04-11 15:19:41 +02:00
Cédric Krier f3bcf05446 Include tax amount in shipping cost in product data feed
Closes #13173
2024-04-09 15:03:39 +02:00
Cédric Krier 8320379195 Compute sale price under the web shop context
Closes #13172
2024-04-09 13:25:35 +02:00
Cédric Krier 14c5a40342 Check only shipment with cost method 'order' to invoice shipment cost on order
If the sale is linked to a shipment with a different cost method than order,
it should not be considered to decide to invoice or not the sale shipment
cost.

Closes #13171
2024-04-08 17:45:01 +02:00
Cédric Krier 49bd15c94e Fill tax rule pattern with default empty countries
A rule line for a country is not expected to be used when the country is
unknown.

Closes #13169
2024-04-08 12:13:33 +02:00
Cédric Krier 3bfc1e25d0 Limit template error to Genshi error in marketing activity and email validation 2024-04-05 00:35:19 +02:00
Cédric Krier 6d9f1c8d56 Raise user error on template error when render marketing activity or email
Closes #13163
2024-04-05 00:34:19 +02:00
Sergi Almacellas Abellana a71931c15b Add employee fields on invoice form
Closes #13128
2024-03-25 15:30:57 +01:00
Cédric Krier 7af1012be3 Test if user has a company before using it in letter report
Closes #13174
2024-04-13 15:04:45 +02:00
Cédric Krier cf02996a09 Do not fail to get product location for shipment without warehouse
The warehouse of internal shipment is computed and may be empty if the from
location does not have a warehouse.

Closes #13129
2024-04-13 13:52:43 +02:00
Maxime Richez 507079741c Decorate pack button of customer shipment when extending it for shipping
Closes #13131
2024-04-15 16:20:31 +02:00
Adrià Tarroja Caubet 6d37785d85 Fix typo when searching euro to get intrastat currency
Closes #13201
2024-04-18 10:12:18 +02:00
Cédric Krier c32a98f66c Do not try to round or convert list price of project revenue
By using list_price_used we are sure to have a list price in the company
currency so there is not need for conversion.
Also list price of a product can be empty so we should not try to round it.

Closes #13110
2024-04-10 18:06:23 +02:00
Cédric Krier 11b092a61b Do not fail to compute record name of opportunity reporting without employee
Closes #13114
2024-04-10 18:13:54 +02:00
Cédric Krier e69fbf7a9e Convert recursive calls of reconcile accounts wizard into loop
The recursive calls may reach the Python recursion limit if there are a lot of
accounts and parties to process.
So converting the recursion into a loop prevent reaching this limit.

Closes #13164
2024-04-05 14:39:23 +02:00
Cédric Krier 4ecca33e0e Do not fail when testing if account is set on invoice line for project
If there is no product defined on the project, the call to on_change_product
for the invoice line does not set the account field.

Closes #13111
2024-04-10 17:56:20 +02:00
Cédric Krier 1f470cb4d1 Return currency instance instead of id in party getter 2024-04-10 11:25:48 +02:00
Cédric Krier b0335a27b0 Test if contextual company id is positive before using it
Closes #13176
2024-04-10 11:25:11 +02:00
Cédric Krier de7bd32700 Do not copy products, categories and images to web shop
Closes #13161
2024-04-04 15:55:01 +02:00
Cédric Krier b0d38bd797 Set invoice progress of shipment cost line of sale always as 100%
Closes #13160
2024-04-04 15:13:36 +02:00
Cédric Krier 3a25fc0df9 Always return float for invoice or moves progress
The fields are Float so they must return a float.
2024-04-04 15:12:21 +02:00
Maxime Richez f2353c8f6a Allocate also shipment cost of 0
Closes #13155
2024-04-13 19:13:44 +02:00
Sergi Almacellas Abellana fc5edbbd8f Include uom access rule under updatable data 2024-04-03 11:24:04 +02:00
Ahmed AlBoori 844c2b503a Add scenario to test receivable rules on statement
#13063
2024-04-13 18:10:13 +02:00
Ahmed AlBoori 6d57f3498c Use positional argument when applying account receivable rule
The ModelView.button decorator is expected first positional argument to be
named records so we can not use keyword argument in this case.

Closes #13063
2024-03-02 06:11:36 +03:00
Ahmed AlBoori fbd83cfeb2 Correct Account Receivable Rule Model Name
Closes #13063
2024-02-28 23:33:19 +03:00
Cédric Krier 38037cb8c5 Reset sales to state quotation to avoid duplicate log entries
Closes #13159
2024-04-04 12:51:18 +02:00
Cédric Krier b50911d36c Do not deduce current payment from the amount of the sale
Closes #13157
2024-04-02 16:47:01 +02:00
Cédric Krier 89c1127952 Enforce clearing account type only on draft payment
As the receivable, payable type may evolve over time, only draft state should
enforce it.

Closes #13145
2024-03-30 11:32:22 +01:00
Cédric Krier 79e5ab807d Set posting employee only when using button
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.

Closes #13124
2024-03-25 10:17:35 +01:00
Cédric Krier 0c3f88b776 Wrap transaction description into a single line to store as origin description
Since a2f811ed0e99 it is not allowed to store multiline in Char field.

Closes #13123
2024-03-25 00:19:23 +01:00