From: Christophe Simonis Date: Fri, 12 Sep 2014 16:53:48 +0000 (+0200) Subject: [MERGE] forward port of branch saas-3 up to fdc6271 X-Git-Tag: 8.0.0~25^2~11 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=56f2b7ae0f8c958ef78da7cf466e7908abcd29c6;p=odoo%2Fodoo.git [MERGE] forward port of branch saas-3 up to fdc6271 --- 56f2b7ae0f8c958ef78da7cf466e7908abcd29c6 diff --cc addons/mrp_repair/mrp_repair.py index 54c7a3d,fc3c65d..e84efab --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@@ -353,10 -389,10 +353,10 @@@ class mrp_repair(osv.osv) account_id = repair.partner_id.property_account_receivable.id inv = { 'name': repair.name, - 'origin':repair.name, + 'origin': repair.name, 'type': 'out_invoice', 'account_id': account_id, - 'partner_id': repair.partner_id.id, + 'partner_id': repair.partner_invoice_id.id or repair.partner_id.id, 'currency_id': repair.pricelist_id.currency_id.id, 'comment': repair.quotation_notes, 'fiscal_position': repair.partner_id.property_account_position.id diff --cc addons/product/product_view.xml index b2d7c5d,4a17e85..162391c --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@@ -287,86 -245,25 +287,87 @@@ - + Products ir.actions.act_window - product.product + product.template + kanban,tree,form form - tree,form,kanban - - - -

- Click to define a new product. -

- You must define a product for everything you buy or sell, - whether it's a physical product, a consumable or service. -

+ ++ {"search_default_filter_to_sell":1} +
+ + + + + + + + + product.product.tree + product.product + + + + + + + + + + + + + + + + + + + + product.product.form + product.product + primary + + + +
+ Product Variant +
+ + lst_price + + + + + + + +
+ + + Product Kanban + product.product + primary + + + + + + + + + + + + + - Products + Product Variants ir.actions.act_window product.product kanban,tree,form diff --cc addons/stock/stock_view.xml index f4ef1d6,7ec5f2f..5dc3b5c --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@@ -990,11 -1140,12 +990,12 @@@ - + - + +