Review: Needs Fixing
Please correct below points,
Remove print statements.
shop_id = sale_shop_obj.search(cr, uid, [('id', '=', 1)]) => This is totally
wrong
return shop_id[0] => return shop_id and shop_id[0] or False
def get_shop => def _get_shop
we have to create update_shop_cart
def create_sale_order => partner=1 should be improve.
def onchange_product_id => call sale order line: onchange_product_id
Thanks for work,
Mustufa
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-ecommerce-bde/+merge/91761
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-module-ecommerce.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp