Merge lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-stock-config-1070726 into lp:magentoerpconnect/oerp6.1-oldstable
Proposed by
Guewen Baconnier @ Camptocamp
Status: | Merged |
---|---|
Merged at revision: | 663 |
Proposed branch: | lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-stock-config-1070726 |
Merge into: | lp:magentoerpconnect/oerp6.1-oldstable |
Diff against target: |
70 lines (+19/-1) 3 files modified
magentoerpconnect/magerp_osv.py (+4/-1) magentoerpconnect/product.py (+14/-0) magentoerpconnect/product_view.xml (+1/-0) |
To merge this branch: | bzr merge lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-stock-config-1070726 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+131178@code.launchpad.net |
Description of the change
Allows to choose if the product should:
* have a stock
* not have a stock
* use the default configuration of magento
A sql query in the init of the module ensures that the values are initialized to "use_default" when we update the module.
That's basically a port of this feature from the the oerp6.1-stable branch.
To post a comment you must log in.
I would be glad to have someone review my branch.
Thanks