Thanks Lorenzo,

My module already depends on sale, but i need it to depend on the discount feature of sale, so that if the discount feature not enabled then this module will enable it automatically.

is this doable from the __openerp__.py depends field or i have to make a module config_settings.py and write the code to activate sale discount ?

Regards,



Regards,

On 06/12/2014 03:46 PM, Lorenzo Battistini wrote:
On 06/12/2014 02:14 PM, Mohamed M. Hagag wrote:
Dears,

I would like to make my module depends on sale discount feature, how can i set this in the module config ?


Hello,

see the 'depends' item in the __openerp__.py file

-- 
Lorenzo Battistini
Tel (CH): +41 91 210 23 40
Tel (IT): +39 011 198 25481
http://www.agilebg.com


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to