-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0] [MIG] product_pricelist_supplierinfo #1745
base: 18.0
Are you sure you want to change the base?
[18.0] [MIG] product_pricelist_supplierinfo #1745
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d7cbff - Browse repository at this point
Copy the full SHA 8d7cbffView commit details -
product_pricelist_supplierinfo: Several enhancements + concept fixing
* Don't depend on sales * Extended README * Tests focused on module specific features * Code optimization * Don't mix pricelist info with supplier info on criteria
Configuration menu - View commit details
-
Copy full SHA for d82ea72 - Browse repository at this point
Copy the full SHA d82ea72View commit details -
product_pricelist_supplierinfo: Take into account sales order date
Date order is passed by context, so we have to take this into account for computing properly available supplierinfo records.
Configuration menu - View commit details
-
Copy full SHA for 1c2741f - Browse repository at this point
Copy the full SHA 1c2741fView commit details -
product_pricelist_supplierinfo: Give more priority in order to min_qty
If not, you can twist the order in the form and rules won't be applied according criteria
Configuration menu - View commit details
-
Copy full SHA for bfd834b - Browse repository at this point
Copy the full SHA bfd834bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3962111 - Browse repository at this point
Copy the full SHA 3962111View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b2bee8 - Browse repository at this point
Copy the full SHA 6b2bee8View commit details -
[FIX] product_pricelist_supplierinfo: Avoid false computations
If you set the value "Based on" for using supplier info, but then you change the computation type to another one (like fixed price or discount), this code is still acting, so we should check both fields.
Configuration menu - View commit details
-
Copy full SHA for 1e69097 - Browse repository at this point
Copy the full SHA 1e69097View commit details -
[11.0][FIX] product_pricelist_supplierinfo: Add template compatibility (
OCA#436) Previously, only worked fine with product.product.
Configuration menu - View commit details
-
Copy full SHA for 037e832 - Browse repository at this point
Copy the full SHA 037e832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91c5b87 - Browse repository at this point
Copy the full SHA 91c5b87View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebd7442 - Browse repository at this point
Copy the full SHA ebd7442View commit details -
Translated using Weblate (Spanish)
Currently translated at 93.3% (14 of 15 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_pricelist_supplierinfo/es/
Configuration menu - View commit details
-
Copy full SHA for fe3559b - Browse repository at this point
Copy the full SHA fe3559bView commit details -
[IMP] add margin on supplier info to configure the sale price
When having price per qty at the supplier level and if you want to base your pricelist on the supplier price, now you can define a margin on the product.supplierinfo
Configuration menu - View commit details
-
Copy full SHA for c3a1888 - Browse repository at this point
Copy the full SHA c3a1888View commit details -
[FIX] product_pricelist_supplierinfo: use _select_seller
Use standard way to select the seller. As a result a bug in previous solution is fixed also: before this, all supplierinfo records having product_tmpl_id set, were considered as possible price for all product variants, even if product_id was set also. That resulted in same price for all variants even if supplierinfo records had different price for all variants.
Configuration menu - View commit details
-
Copy full SHA for 2c31b23 - Browse repository at this point
Copy the full SHA 2c31b23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ccccf - Browse repository at this point
Copy the full SHA 65ccccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f712613 - Browse repository at this point
Copy the full SHA f712613View commit details -
[FIX] product_pricelist_supplierinfo: Converting Price
If we have suppliers in two or more currencies, and we have a pricelist with an item that is selected the "Prices based on supplier info" option but the pricelist is in a currency different from the supplierinfo the compute of the price get the price on the same amount but with a different currency. With these changes, we are converting the price to the currency on the pricelist that is being used. Also, a test was added to prove the previous behaviour.
Configuration menu - View commit details
-
Copy full SHA for f7b9907 - Browse repository at this point
Copy the full SHA f7b9907View commit details -
Translated using Weblate (French)
Currently translated at 100.0% (20 of 20 strings) Translation: product-attribute-12.0/product-attribute-12.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_pricelist_supplierinfo/fr/
Configuration menu - View commit details
-
Copy full SHA for 19a6c53 - Browse repository at this point
Copy the full SHA 19a6c53View commit details -
[FIX] product_pricelist_supplierinfo: ensure product exists
It is possible that this method is called on an inactive template, in which case product_variant_id returns empty recordset and _select_seller will raise expected singleton error.
Configuration menu - View commit details
-
Copy full SHA for f00a918 - Browse repository at this point
Copy the full SHA f00a918View commit details -
[FIX] product_pricelist_supplierinfo: Convert price to UOM on the Sale
If we have a product with a supplier with a UOM "A" but the product is sold with a UOM "B" the price we are getting is the same no matter the UOM. For example: Product with the price 1200 per Dozen and we sell a 1 unit we are getting the price of 1200 for that unit when we should be obtaining 100. With these changes, we are converting the price to the UOM that is being used on the sale or the default on the product. Also, a test was added to prove the previous behaviour.
Configuration menu - View commit details
-
Copy full SHA for ae6de6b - Browse repository at this point
Copy the full SHA ae6de6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdc73df - Browse repository at this point
Copy the full SHA cdc73dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c632c7 - Browse repository at this point
Copy the full SHA 6c632c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed336e1 - Browse repository at this point
Copy the full SHA ed336e1View commit details -
[MIG] product_pricelist_supplierinfo: Migration to v13.0
[UPD] Update product_pricelist_supplierinfo.pot [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for 20f9cbd - Browse repository at this point
Copy the full SHA 20f9cbdView commit details -
FIX product_pricelist_supplierinfo: _get_supplierinfo_pricelist_price…
… when date is datetime. date may come from context
Configuration menu - View commit details
-
Copy full SHA for baa1af4 - Browse repository at this point
Copy the full SHA baa1af4View commit details -
[FIX] product_pricelist_direct_print: Error when date is not defined
When we check the price of any product, the date that we pass on the context has to be a Datetime value or None. With this change we avoid to pass a False. Here you have the reference to the code that check that https://github.com/OCA/OCB/blob/13.0/addons/product/models/product.py#L599-L600 TT29935 product_pricelist_supplierinfo 13.0.1.0.2
Configuration menu - View commit details
-
Copy full SHA for 1fcb1bf - Browse repository at this point
Copy the full SHA 1fcb1bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a0712b - Browse repository at this point
Copy the full SHA 5a0712bView commit details -
[MIG] product_pricelist_supplierinfo: Migration to 14.0
TT31816 [UPD] Update product_pricelist_supplierinfo.pot [UPD] README.rst [IMP] update dotfiles [ci skip]
Configuration menu - View commit details
-
Copy full SHA for af70735 - Browse repository at this point
Copy the full SHA af70735View commit details -
[FIX] product_pricelist_supplierinfo: public users
In the e-commerce, if we have a pricelist with a rule based on supplierinfo for a determined supplier partner, such partner could be not accesible for public users and the affected products could not be reached. TT31476
Configuration menu - View commit details
-
Copy full SHA for 8a25d40 - Browse repository at this point
Copy the full SHA 8a25d40View commit details -
[FIX] product_pricelist_supplierinfo: override min quantity
If we don't have a supplierinfo that below 1 unit we won't get any seller. We want to ensure that the condition is fully ignored to get whatever price given the other criterias. TT33659
Configuration menu - View commit details
-
Copy full SHA for 437f5c0 - Browse repository at this point
Copy the full SHA 437f5c0View commit details -
[FIX] product_pricelist_supplierinfo: Allow to show shop for public u…
…sers 0581b66 is not enough on v13 for avoiding the access error, so we sudoed the whole price fetch operation. TT36898
Configuration menu - View commit details
-
Copy full SHA for 769ec08 - Browse repository at this point
Copy the full SHA 769ec08View commit details -
[FIX] product_pricelist_supplierinfo: Show text in the view
TT36975 product_pricelist_supplierinfo 14.0.1.1.0
Configuration menu - View commit details
-
Copy full SHA for b6721cc - Browse repository at this point
Copy the full SHA b6721ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3841a67 - Browse repository at this point
Copy the full SHA 3841a67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f1a8d - Browse repository at this point
Copy the full SHA 22f1a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ed55f - Browse repository at this point
Copy the full SHA f2ed55fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd20cd7 - Browse repository at this point
Copy the full SHA bd20cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9007c40 - Browse repository at this point
Copy the full SHA 9007c40View commit details -
Translated using Weblate (Italian)
Currently translated at 59.0% (13 of 22 strings) Translation: product-attribute-15.0/product-attribute-15.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_pricelist_supplierinfo/it/
Configuration menu - View commit details
-
Copy full SHA for 0fc5ab4 - Browse repository at this point
Copy the full SHA 0fc5ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1396f95 - Browse repository at this point
Copy the full SHA 1396f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd14951 - Browse repository at this point
Copy the full SHA bd14951View commit details -
[MIG] product_pricelist_supplierinfo: Migration to 16.0
Assertion in tests involving the pricelist field in products were removed, as that field doesn't exist anymore [1], and such assertions were intended only to ensure computed price were propagated correctly to that field. [1] odoo/odoo@9e99a9df
Configuration menu - View commit details
-
Copy full SHA for 0392601 - Browse repository at this point
Copy the full SHA 0392601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 005096c - Browse repository at this point
Copy the full SHA 005096cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cec1771 - Browse repository at this point
Copy the full SHA cec1771View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_supplierinfo/
Configuration menu - View commit details
-
Copy full SHA for 93ecee4 - Browse repository at this point
Copy the full SHA 93ecee4View commit details -
[FIX] product_pricelist_supplierinfo: inherit the _compute_price meth…
…od in product_pricelist model In version 15.0 the _compute_price_rule method was used to obtain the product price because the price was a computed field, however, in version 16.0 we need to inherit _compute_price from product_pricelist_item because this method is used directly when creating a new sale order line.
Configuration menu - View commit details
-
Copy full SHA for b75bbd2 - Browse repository at this point
Copy the full SHA b75bbd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dff529 - Browse repository at this point
Copy the full SHA 6dff529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e7336 - Browse repository at this point
Copy the full SHA 71e7336View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_supplierinfo/
Configuration menu - View commit details
-
Copy full SHA for 4686568 - Browse repository at this point
Copy the full SHA 4686568View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (14 of 14 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_supplierinfo/es/
Configuration menu - View commit details
-
Copy full SHA for 9ad3f07 - Browse repository at this point
Copy the full SHA 9ad3f07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bf4a73 - Browse repository at this point
Copy the full SHA 2bf4a73View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (14 of 14 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_supplierinfo/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for b228c33 - Browse repository at this point
Copy the full SHA b228c33View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (14 of 14 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_supplierinfo/it/
Configuration menu - View commit details
-
Copy full SHA for 93fc96d - Browse repository at this point
Copy the full SHA 93fc96dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8a3700 - Browse repository at this point
Copy the full SHA c8a3700View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad2f7a0 - Browse repository at this point
Copy the full SHA ad2f7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b93a3f2 - Browse repository at this point
Copy the full SHA b93a3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0123ac3 - Browse repository at this point
Copy the full SHA 0123ac3View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-17.0/product-attribute-17.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_pricelist_supplierinfo/
Configuration menu - View commit details
-
Copy full SHA for eeae6d1 - Browse repository at this point
Copy the full SHA eeae6d1View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (14 of 14 strings) Translation: product-attribute-17.0/product-attribute-17.0-product_pricelist_supplierinfo Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_pricelist_supplierinfo/it/
Configuration menu - View commit details
-
Copy full SHA for 456849e - Browse repository at this point
Copy the full SHA 456849eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b00ab - Browse repository at this point
Copy the full SHA d4b00abView commit details