Skip to content
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

[14.0][MIG] product_pack #33

Closed
wants to merge 45 commits into from

Conversation

mohamedhagag
Copy link

No description provided.

jjscarafia and others added 30 commits December 16, 2020 20:45
INIT

ADD pot files and module for agrimesores
IMP product pack to support surveyor packs

IMP pack description

IMP add product pack standar functionality for v8 and general improvements

IMP discounts and portal distributors permissions

FIX product_pack license and author

FIX prod pack available

IMP pack to restrict company in products

FIX pack company restriction
IMP product_pack format

FIX fix_digits_compute_to_digits

IMP IMPORTANT imprrovements on product pack, get pack with sale order constraint

IMP use constraint on sale line and not sale order for product packs

IMP implement totalice price on product pack

IMP update pack manifest

FIX prod pack copy sale order

FIX contraint

IMP compt with other modules

FIX prod pack @api.multi
9.0 FIX filter the taxes by company (OCA#111)
* [REL] replace __openerp__ for __manifest__

* [REL] replace openerp imports for odoo

* [REL] some python3 exceptions

* [REL] replace openerp by odoo on xml files

* [REL] delete utf-8 line on python files

* [REL] some minor fixes for migration to v11

* [FIX] runbot link
* [FIX] xml files names

* [REL] migration product_pack to 11.0
* [FIX] Update README
* [FIX] remove openerp tags and data tags
* [IMP] change some funtion to improve funcionality
* [FIX] change name to xml and .py files according guidelines
* [FIX] remove api.one decorators

* [FIX] update readme

* [FIX] Remove "encoding: utf-8"

* [FIX] remove api.multi, string not necesary and some other fixes

* [FIX] demo data to separate according Guidelines

* [FIX] fix names in fields

* [FIX] remove executable
* [ADD] product_pack: Add compatibility with website_sale.

* [ADD] product_pack: Allow product pack modify

* [ADD] product_pack: In sale order do not let to delete/modify a line that
belongs to a pack

* [ADD] product_pack: Be able to edit pack lines inf allow_modify_pack is set in
product.

* [ADD] product_pack: Do not compute price in cart for components_price packs

[FIX] product_pack: Pack line price fixed (take into account pricelist) (#187)

* [FIX] product_pack: Pack line price fixed (take into account pricelist)

Proper compute pack line price using price instead of list_price

* [FIX] product_pack: Allow Modidy Pack only showed for Components price packs

* [FIX] product_pack: When changing pack_price_type clean allow_modify_pack if
needed.
…mplate view (#189)

[FIX] we add prefetch_fields becase if not the stock it's no correct when this method it's call from website (#191)
…scount. (#197)

Formerly was only taking into account the product packs discount, now take
into account both discounts.

Also we simplify the way that get_sale_order_line_vals works and now is
simplier and use Odoo's onchange methods to compute the lines values.

[FIX] product_pack: Pack component now have the tax of the company (#198)

Before this fix the product's packs new sale order line have multiple taxes:
one por each company. Actually only need to add the taxes realated to the
sale order's company.

[FIX] product_pack: compute proper components prices (#199)

In some cases the values were prefetched and it was throwing bad prices.
we add prefetch_fields to the context of the packs and that solve it.

[FIX/IMP] product_pack: Allow modify pack and do not reset after confirm website sale order (#201)

* [FIX] product_pack: Do not reset packs components when confirm sale order.

If a sale order is updated from the website whrn confirm the order we do
not expand the pack, we usit as it is.

* [ADD] product_pack: Allow modify pack from backend/website

Now we can choose if the product can be modified in the only int he backend or
if can be modified also in the frontend by the customers.

* [FIX] lint
Currently translated at 95.6% (43 of 45 strings)

Translation: product-pack-12.0/product-pack-12.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/pt/
CarlesAntoli and others added 15 commits December 16, 2020 20:45
Currently translated at 100.0% (45 of 45 strings)

Translation: product-pack-12.0/product-pack-12.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/ca/
This is because in the e-commerce when an user portal or public try to access to the catalog of products has an access error to the model "product pack line".
 Them problem is when the method price_compute is call then try to compute the products expand the product pack and try to access to that model.
This way evoid to set an access  read to "product pack line" for the portal and public users.
Currently translated at 4.4% (2 of 45 strings)

Translation: product-pack-12.0/product-pack-12.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/fr/
Currently translated at 100.0% (45 of 45 strings)

Translation: product-pack-12.0/product-pack-12.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-pack-13.0/product-pack-13.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-pack-13.0/product-pack-13.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/
Currently translated at 18.1% (8 of 44 strings)

Translation: product-pack-13.0/product-pack-13.0-product_pack
Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/nl/
@OCA-git-bot
Copy link
Contributor

Hi @ernestotejeda,
some modules you are maintaining are being modified, check this out!

@mohamedhagag mohamedhagag mentioned this pull request Dec 16, 2020
4 tasks
@mohamedhagag mohamedhagag changed the title 14.0 mig product pack [14.0][MIG] product_pack Jan 29, 2021
@jcbr87
Copy link

jcbr87 commented Aug 31, 2021

@mohamedhagag
Hello, I am writing to you to know if you are going to continue monitoring this migration.
@pedrobaeza

@pedrobaeza
Copy link
Member

Superseded by #48

@pedrobaeza pedrobaeza closed this Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.