Commit Graph
1303 Commits
Author SHA1 Message Date
Cédric Krier 5623f2bcf6 Use id as default payee value on pay invoice wizard
Closes #13140
(grafted from 1a12707bd33d013f3f1853e7843742727018abf6)

--HG--
branch : 7.0
2024-04-21 15:33:42 +02:00
Cédric Krier 956b5d8136 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
(grafted from f290dbb1479d4a4e4aabb2f66d93bf4e042f42e6)

--HG--
branch : 7.0
2024-04-08 17:45:01 +02:00
Cédric Krier a6e822f877 Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 7.0
2024-04-22 08:59:48 +02:00
Cédric Krier 2b48cf703f Do not display cancelled moves in shipment reports
Closes #13202
(grafted from 29176a5201d492908cbb816b8fed9492bb6fdc8e)

--HG--
branch : 7.0
2024-04-18 14:49:49 +02:00
Cédric Krier ea942a8f97 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
(grafted from cea3c89a740248a84ce48a906f1b1c33ba0fac5e)

--HG--
branch : 7.0
2024-04-08 12:13:33 +02:00
Cédric Krier 3c67364ddd Test if user has a company before using it in letter report
Closes #13174
(grafted from 532ac5ce0458557de16512c2751c2e394924e7e1)

--HG--
branch : 7.0
2024-04-13 15:04:45 +02:00
Cédric Krier 00757cfb12 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
(grafted from f4f85f4d31f0afe83bb8662d1c15ceecadbd753e)

--HG--
branch : 7.0
2024-04-13 13:52:43 +02:00
Maxime Richez 98d89d896c Decorate pack button of customer shipment when extending it for shipping
Closes #13131
(grafted from 710bafa013393a2ebd3731d890fad427c75df1f1)

--HG--
branch : 7.0
2024-04-15 16:20:31 +02:00
Adrià Tarroja Caubet 53b0e25d3d Fix typo when searching euro to get intrastat currency
Closes #13201
(grafted from 61e80b049607949aa9e6055f3942b13c81ad9f22)

--HG--
branch : 7.0
2024-04-18 10:12:18 +02:00
Cédric Krier 27ad262c68 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
(grafted from 710927560bfe722fc02c0d22bbdf2c1615f787a7)

--HG--
branch : 7.0
2024-04-10 18:06:23 +02:00
Cédric Krier 4309eefced Do not fail to compute record name of opportunity reporting without employee
Closes #13114
(grafted from 6cdbfed2effb3f71b3f688564de4471da095546f)

--HG--
branch : 7.0
2024-04-10 18:13:54 +02:00
Cédric Krier 8fc1fe62e7 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
(grafted from 01992016f36efdf8576a2453a084ba642e43d74f)

--HG--
branch : 7.0
2024-04-10 17:56:20 +02:00
Cédric Krier 78a6017ae8 Test if contextual company id is positive before using it
Closes #13176
(grafted from fa023763f7b00cd4fbfa9e818bf25db9e259cfbd)

--HG--
branch : 7.0
2024-04-10 11:25:11 +02:00
Cédric Krier 87135f32d5 Always return float for invoice or moves progress
The fields are Float so they must return a float.
(grafted from 68824d0fd7e6b7568db499d0a6594476c7f9ab66)

--HG--
branch : 7.0
2024-04-04 15:12:21 +02:00
Maxime Richez ece062ecf4 Allocate also shipment cost of 0
Closes #13155
(grafted from 9a2d0edb8d8b3903e47b74bc339ba4d2ec6df097)

--HG--
branch : 7.0
2024-04-13 19:13:44 +02:00
Ahmed AlBoori 67bb5d05df 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
(grafted from d860272ff5b1f8e707cc29a358c288e7a83dbe70)

--HG--
branch : 7.0
2024-03-02 06:11:36 +03:00
Ahmed AlBoori c8ce760192 Correct Account Receivable Rule Model Name
Closes #13063
(grafted from 008beeeb86d7045d956e9894a606f31fe2f1d0d1)

--HG--
branch : 7.0
2024-02-28 23:33:19 +03:00
Cédric Krier ed86a4525e Increase version number
--HG--
branch : 7.0
2024-04-17 12:46:11 +02:00
Cédric Krier 8f7e83b77d Prepare release account-7.0.6
--HG--
branch : 7.0
2024-04-17 12:45:58 +02:00
Cédric Krier e7b10d1406 Increase version number
--HG--
branch : 7.0
2024-04-17 12:45:47 +02:00
Cédric Krier b6ee288b05 Prepare release account_invoice-7.0.4
--HG--
branch : 7.0
2024-04-17 12:45:37 +02:00
Cédric Krier 9e4e60c9b8 Increase version number
--HG--
branch : 7.0
2024-04-17 12:45:23 +02:00
Cédric Krier cfe8f8a3ba Prepare release account_payment_clearing-7.0.2
--HG--
branch : 7.0
2024-04-17 12:45:12 +02:00
Cédric Krier b3fedde0dc Increase version number
--HG--
branch : 7.0
2024-04-17 12:42:12 +02:00
Cédric Krier 47b7a31e07 Prepare release account_payment_stripe-7.0.3
--HG--
branch : 7.0
2024-04-17 12:42:03 +02:00
Cédric Krier 851b8abb63 Increase version number
--HG--
branch : 7.0
2024-04-17 12:41:20 +02:00
Cédric Krier a7844f55e6 Prepare release account_statement_mt940-7.0.1
--HG--
branch : 7.0
2024-04-17 12:41:12 +02:00
Cédric Krier f0d2e98782 Increase version number
--HG--
branch : 7.0
2024-04-17 12:40:58 +02:00
Cédric Krier 86e8a5ac1d Prepare release purchase-7.0.3
--HG--
branch : 7.0
2024-04-17 12:40:46 +02:00
Cédric Krier 8548f76ba6 Increase version number
--HG--
branch : 7.0
2024-04-17 12:40:34 +02:00
Cédric Krier c840e39c67 Prepare release sale-7.0.3
--HG--
branch : 7.0
2024-04-17 12:40:24 +02:00
Cédric Krier 81c97bedca Increase version number
--HG--
branch : 7.0
2024-04-17 12:37:44 +02:00
Cédric Krier 7bb3ce6b52 Prepare release sale_advance_payment-7.0.2
--HG--
branch : 7.0
2024-04-17 12:37:36 +02:00
Cédric Krier 0df55fc9ed Increase version number
--HG--
branch : 7.0
2024-04-17 12:36:53 +02:00
Cédric Krier 48c2cb973c Prepare release sale_extra-7.0.1
--HG--
branch : 7.0
2024-04-17 12:36:44 +02:00
Cédric Krier 24dba5dab5 Increase version number
--HG--
branch : 7.0
2024-04-17 12:34:42 +02:00
Cédric Krier 3105a64f2d Prepare release sale_payment-7.0.1
--HG--
branch : 7.0
2024-04-17 12:34:34 +02:00
Cédric Krier a1cb541bab Increase version number
--HG--
branch : 7.0
2024-04-17 12:32:57 +02:00
Cédric Krier a99ba37197 Prepare release stock_package_shipping_ups-7.0.2
--HG--
branch : 7.0
2024-04-17 12:32:49 +02:00
Cédric Krier f0f0d9b7f1 Update precision of cost price test from modification under stock continental accounting
Since 0809f9f56c4e the modified cost price is rounded with the price
precision.

Closes #13041
(grafted from 10c6c8773040b6b6035753fd6c2f91efbcc094d9)

--HG--
branch : 7.0
2024-04-01 14:04:52 +02:00
Cédric Krier de24928032 Reset sales to state quotation to avoid duplicate log entries
Closes #13159
(grafted from 069e07eabef38b4420a68e223a8afe061a9a0a55)

--HG--
branch : 7.0
2024-04-04 12:51:18 +02:00
Cédric Krier 786f0ad5ef Do not deduce current payment from the amount of the sale
Closes #13157
(grafted from 4222a311839fe3341a27e9c2be3d931403802be3)

--HG--
branch : 7.0
2024-04-02 16:47:01 +02:00
Cédric Krier 3e057b5865 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
(grafted from b328583085791f9873ce068c48e62e5d55a3d5b7)

--HG--
branch : 7.0
2024-03-30 11:32:22 +01:00
Cédric Krier 0a30314a89 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
(grafted from 361b4624d10c7173ce439329d72e37d7fa02d00b)

--HG--
branch : 7.0
2024-03-25 10:17:35 +01:00
Cédric Krier b07676e5ac 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
(grafted from 8c8e5c013a7ba90d85ebb39e7b74cb8a4dbe4e2d)

--HG--
branch : 7.0
2024-03-25 00:19:23 +01:00
Cédric Krier 9956e2f1e3 Use min date as default From Date for start amount of general ledger
Closes #12660
(grafted from 06bc271a0d51d43f06306dc2c872ccd07979d50d)

--HG--
branch : 7.0
2024-03-17 11:36:24 +01:00
Cédric Krier 54d77e58d7 Include advance payment invoices when searching by sales
Closes #13148
(grafted from 078410b3e2abd2b1a8e685d6109937dab076c3c6)

--HG--
branch : 7.0
2024-04-01 15:16:31 +02:00
Cédric Krier e8794458f1 Fix typo when processing refund on charge refund updated webhook from Stripe
Closes #13137
(grafted from 97365472565f7863c23a576e7d1eaf92f78ef0d0)

--HG--
branch : 7.0
2024-03-27 19:38:52 +01:00
Cédric Krier c537c25fe1 Use duck typing to convert single UPS package into a list
It seems that UPS has fixed its API such that it always returns a list for
PackageResults but it is still better to test the actual result.

Closes #13116
(grafted from 5aeb838f993f9d5e55c10a4b24f9ad6cd67eae55)

--HG--
branch : 7.0
2024-03-21 16:55:01 +01:00
Cédric Krier 01ad452523 Consider sale or purchase as done when states are none and methods are not manual
This partially reverts 87d1b5dd99c6 and cc3f0e8968a4 to base the state on the
methods instead of the quantity.

Closes #13154

--HG--
branch : 7.0
2024-04-02 15:33:01 +02:00