Commit Graph
1350 Commits
Author SHA1 Message Date
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
Cédric Krier 854efb8216 Use min date as default From Date for start amount of general ledger
Closes #12660
2024-03-17 11:36:24 +01:00
Cédric Krier cee75c14a1 Do not distribute residual rounding to tax with 0 amount
Closes #13098
2024-03-15 13:16:33 +01:00
Cédric Krier 334a554dd6 Add web_shop_product_data_feed module
Closes #13069
2024-04-08 17:27:25 +02:00
Cédric Krier a535c54d36 Add countries for web shop 2024-03-05 10:43:41 +01:00
Cédric Krier 4df4d72f8d Add Manufacturer Part Number product identifier 2024-03-05 10:42:44 +01:00
Cédric Krier f003128df6 Add brand product identifier 2024-03-05 10:42:10 +01:00
Cédric Krier e297a3ad47 Support generate barcode of different type 2024-03-05 10:41:23 +01:00
Cédric Krier 1415713e6b Explicitly define product identifier from stdnum 2024-03-05 10:40:18 +01:00
Cédric Krier 8c356b0c27 Support sale price list per web shop
Closes #13076
2024-03-06 10:18:37 +01:00
Cédric Krier 2ca33a8e19 Add carrier to list view of customer shipment in stock_shipment_cost
It is stock_shipment_cost that adds the field to the shipment so it should be
also added to the view by the same module.
2024-03-25 11:53:41 +01:00
Cédric Krier 4e3027c7a9 Add description and note to opportunity line 2024-03-23 22:51:52 +01:00
Cédric Krier f0050a6635 Enforce the unit category of opportunity line from the product 2024-03-23 22:43:49 +01:00
Cédric Krier edd36e67b0 Make product optional on opportunity line
Closes #2172
2024-03-23 22:52:15 +01:00
Cédric Krier 7e1272f46b Use gettext to format access error message when deleting drop shipment 2024-03-18 18:38:39 +01:00
Cédric Krier 9be2860eb7 Support splitting drop shipment 2024-03-18 18:36:08 +01:00
Cédric Krier e052849c3d Use split function to add lots on move when available
The split function ensures that customer moves of drop shipment are split also
when splitting supplier moves.

Closes #13037
2024-03-18 18:35:22 +01:00
Cédric Krier e686904520 Split customer moves when splitting supplier moves of drop shipment 2024-03-19 09:22:08 +01:00
Cédric Krier 372c212347 Set only periods or dates on the same line for general ledger context
Those fields may become invisible so they should not have any other field next
to them for when they become invisible.
2024-03-17 11:48:43 +01:00
Cédric Krier 0c5ac00c69 Replace _explode_move_values calls by _move call of production 2024-03-16 21:07:22 +01:00
Cédric Krier fe4cec2189 Set currency and unit price of production move when unit price is required
Since 0b2e50445415 the unit price is always set when production is done, so
the unit price of output moves is not important before.
2024-03-16 21:03:13 +01:00
Cédric Krier 51360ee110 Fill currency when creating output move of production
Closes #12360
2024-03-16 21:00:21 +01:00
Cédric Krier e2139ba445 Add company record rule to journal - period 2024-03-14 13:53:31 +01:00
Cédric Krier 4da709134d Add journal - period buttons to form view 2024-03-14 13:51:20 +01:00
Cédric Krier 440827194d Remove declaration of non-existent open button for journal - period 2024-03-14 13:50:49 +01:00
Cédric Krier 36cf314066 Add company to journal-period 2024-03-14 14:04:31 +01:00
Cédric Krier 0a14c86d4e Remove active field on journal - period 2024-03-14 13:44:29 +01:00
Cédric Krier 4790d928af Add images to product category
Closes #13062
2024-02-27 17:52:09 +01:00