openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00712
Re: Stock update out of stock as optional
Hi
Thank you for the quick answer.
Can someone do this customisation for me please? It’s too complicated for me.
I need a customization module [1] and extend
ProductInventoryExporter._get_data to always return 'is_in_stock': 1.
Tero
> On 07 Oct 2015, at 09:49, Guewen Baconnier <guewen.baconnier@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> The backorder configuration can be changed on the Magento 'Binding' of
> the products. Edit a product, open the Connector tab and click on the
> binding, then modify the 'Manage Inventory Backorders' to 'Sell
> Quantity < 0' or 'Sell Quantity < 0 and Use Customer Notification'. Or
> better if you want the same option for all the products, leave the
> option to 'Use Default Config' and change this default configuration
> on Magento.
>
> Besides, 'is_in_stock' is always set to 0 if the quantity is 0 [0],
> for that you have to go through a customization module [1] and extend
> ProductInventoryExporter._get_data to always return 'is_in_stock': 1.
>
> Guewen
>
> [0] https://github.com/OCA/connector-magento/blob/8.0/magentoerpconnect/product.py#L627
> [1] http://odoo-magento-connector.com/guides/tutorial_customize.html
>
> On Tue, Oct 6, 2015 at 10:13 PM, Tero Juola <tjuola@xxxxxx> wrote:
>> Hi All
>>
>> How to change that the connector does not change the status of the product out of stock when the inventory is 0 or less?
>> In Magento I want to sell products in backlog.
>>
>> Cheers,
>> Tero Juola
>> --
>> Mailing list: https://launchpad.net/~openerp-connector-community
>> Post to : openerp-connector-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-connector-community
>> More help : https://help.launchpad.net/ListHelp
References