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

[11.0][MIG] apps_product_creator: Migration to 11.0 #9

Merged
merged 26 commits into from
Jun 26, 2018

Conversation

tarteo
Copy link
Member

@tarteo tarteo commented Apr 12, 2018

tafaRU and others added 23 commits April 12, 2018 11:37
- Renamed attribute names on product.product model;
- Removed some unused attribute definition on product.product model;
- Attribute image_module on product.template is now not stored;
- Views definition made compliant with OCA guidelines;
- Added values 5, 6, 6.1, 7 and 11 to product attribute Odoo Version;
- On odoo.module form views, replaced "Create Products" with Smartbutton for showing related product variants;
 - Products created from modules are now set as not purchasable and with 0 cost and sell price;
 - Rearranged product.product view definition in "Module Informations" tab;
@elicoidal elicoidal added this to the 11.0 milestone Apr 16, 2018
Copy link

@elicoidal elicoidal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
small details
IMO quite straightforward but no test.

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this file or edit gitignore

<!--License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
<odoo noupdate="1">

<record id="attribute_odoo_version" model="product.attribute">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following #8 (comment) should be data not demo

<field name="product_template_id"/>
</xpath>
<xpath expr="//div[@name='button_box']" position="inside">
<button type="object" class="oe_stat_button" icon="fa-arrows-v" name="action_view_products" attrs="{'invisible': [('product_qty', '=', 0)]}">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you improve the format for readability?

<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<page string="Module Informations" id="module_informations" attrs="{'invisible':[('odoo_module_version_id','=',False)]}">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here?

@tarteo
Copy link
Member Author

tarteo commented May 3, 2018

@elicoidal Thanks for your review! I applied the improvements.

Copy link

@elicoidal elicoidal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. needs test

@elicoidal
Copy link

Please take care of travis too

@elicoidal
Copy link

@tafaRU @espo-tony @hurrinico @acsonefho can you help review here?

@acsonefho
Copy link

Code LGTM (not tested)

@elicoidal
Copy link

thanks for the review @acsonefho !

@espo-tony
Copy link

Code LGTM too.

@elicoidal
Copy link

Not sure who could help in the testing, any idea?

@astirpe
Copy link
Member

astirpe commented Jun 12, 2018

Add file oca_dependencies.txt (like in V10). Let's see if it turns green ...

@tarteo
Copy link
Member Author

tarteo commented Jun 12, 2018

@astirpe It turned green, thanks!!

@bizzappdev
Copy link

@tarteo just a note we have changed few things in V10 in https://github.com/OCA/apps-store/pull/10/files which might later have to be migrated also.

@gdgellatly
Copy link

@elicoidal is this ready for merge?

\cc @jgrandguillaume

@elicoidal
Copy link

Yep

@elicoidal elicoidal merged commit 2340b22 into OCA:11.0 Jun 26, 2018
@pedrobaeza pedrobaeza mentioned this pull request Sep 28, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants