-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
[9.0][MIG][website_portal_purchase_product] Migration of website_product_supplier #211
[9.0][MIG][website_portal_purchase_product] Migration of website_product_supplier #211
Conversation
63b0f29
to
0bb75bb
Compare
@@ -6,3 +6,4 @@ access_product_supplierinfo,Access product supplier info,product.model_product_s | |||
access_stock_warehouse,Access warehouse,stock.model_stock_warehouse,base.group_portal,1,0,0,0 | |||
access_stock_location,Access location,stock.model_stock_location,base.group_portal,1,0,0,0 | |||
access_stock_quant,Access quant,stock.model_stock_quant,base.group_portal,1,0,0,0 | |||
access_ir_translation,Access translations,base.model_ir_translation,base.group_portal,1,1,1,1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to make it with rules.
4e2709e
to
38580b9
Compare
175cffa
to
8e74e9a
Compare
c67f6aa
to
10a1daa
Compare
77f056d
to
74e2f5c
Compare
Dependencies are merged, rebased, please someone tag as ready to review. |
@rafaelbn please comment on PR, not on commits. Your requests were already addressed. |
Rebuilding for testing, this PR is ready @yajo @sergio-teruel |
It's waiting approvals |
Please @yajo try to test it in runbot, I get: |
7b4426f
to
69f240b
Compare
That's because no sass is available in runbot, I rebased to see if it gets fixed. |
FYI, we fixed it some time ago. Rebasing should be enough. |
Travis hits #296 |
…t language than English.
…ontroller to better inheritance.
… the English name of the product became something like `[u'Product name']`.
69f240b
to
7da4c41
Compare
Travis should go ✔️ now. |
You can take the occasion to squash a bit the commits. |
Seems like the tour is broken now, I'll try fix; and squash when it goes ✔️ |
Weird, if you create a demo user for the tour using the strategy outlined in odoo/odoo#13902, you cannot use it as the tour's login, because test fails with:
So I opened odoo/odoo#14777 to see if in the future we can have the portal user everywhere, and falled back to changing permisions of demo user for now. Let's see if that works. |
Please @yajo could you review travis? |
Closing this due to no continuation in the project. If somebody has interest on it, he/she can open another PR taking this work. |
Module has been renamed from
website_product_supplier
towebsite_portal_purchase_product
, which follows better the guidelines.Many code has changed to make it compatible with the backported
website_portal_v10
collection.Complete refactor of module.
supplier
flag on user's commercial partner to grant access to features.sudo()
, but ACLs and record access rules.product.template
-oriented, notproduct.supplierinfo
-oriented.product.supplierinfo
is still used for record access rules.website_portal_v10
.website_form
module for Odoo v9.WIP until these are merged:
@Tecnativa