gregoire
9 years ago
4 changed files with 13 additions and 125 deletions
-
13beesdoo_product/views/beesdoo_product.xml
-
1beesdoo_simplified_view/__init__.py
-
24beesdoo_simplified_view/__openerp__.py
-
100beesdoo_simplified_view/views/views.xml
@ -1 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
@ -1,24 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
{ |
|
||||
'name': "beesdoo_simplified_view", |
|
||||
|
|
||||
'description': """ |
|
||||
Long description of module's purpose |
|
||||
""", |
|
||||
|
|
||||
# Categories can be used to filter modules in modules listing |
|
||||
# Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml |
|
||||
# for the full list |
|
||||
'category': 'Sales', |
|
||||
'version': '0.1', |
|
||||
|
|
||||
# any module necessary for this one to work correctly |
|
||||
'depends': ['base', 'sale', 'purchase', ], |
|
||||
|
|
||||
# always loaded |
|
||||
'data': [ |
|
||||
# 'security/ir.model.access.csv', |
|
||||
'views/views.xml', |
|
||||
], |
|
||||
|
|
||||
} |
|
@ -1,100 +0,0 @@ |
|||||
<openerp> |
|
||||
<data> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_sale"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="sale.product_template_form_view_invoice_policy"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="invoice_policy" position="replace"> |
|
||||
<field name="invoice_policy" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_purchase"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="purchase.view_product_supplier_inherit"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="purchase_method" position="replace"> |
|
||||
<field name="purchase_method" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="route_ids" position="replace"> |
|
||||
<field name="route_ids" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_sale_condition"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<group name="sale_condition" position="replace"> |
|
||||
<group name="sale_condition" widget="radio" invisible="True"/> |
|
||||
</group> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_difference"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="property_account_creditor_price_difference" position="replace"> |
|
||||
<field name="property_account_creditor_price_difference" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_expense"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="property_account_expense_id" position="replace"> |
|
||||
<field name="property_account_expense_id" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_income"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="property_account_income_id" position="replace"> |
|
||||
<field name="property_account_income_id" widget="radio" invisible="True"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record model="ir.ui.view" id="beesdoo_simplified_product_view_form_stock_description"> |
|
||||
<field name="name">beesdoo_simplified_view list</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<group name="description" position="replace"> |
|
||||
<group name="description" invisible="False"> |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
<separator string="Description pour le ramassage" colspan="4"/> |
|
||||
<field name="description_picking" |
|
||||
placeholder="Description for Pickings (Rack, Row and Case Information)" nolabel="1" |
|
||||
colspan="4" modifiers="{}"/> |
|
||||
<field name="description_picking" |
|
||||
placeholder="Description pour les devis" nolabel="1" |
|
||||
colspan="4" modifiers="{}" invisible="True"/> |
|
||||
<field name="description_picking" |
|
||||
placeholder="Description for Vendors" nolabel="1" |
|
||||
colspan="4" modifiers="{}" invisible="True"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
</data> |
|
||||
</openerp> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue