Purpose ======= Invoicing is now optional with ecommerce and POS -> there shouldn't be an Invoicing tab in product form by default Specification ============= - Move 'Customer Taxes' field from 'Invoicing' tab to right below 'Sales Price' (in General Information tab). - Move 'Invoicing' section from 'Invoicing' tab to 'Sales' tab. - Add section 'Inventory Valuation' in 'Inventory' tab and move 'Cost' field from 'General Information' tab to this section. Also move 'Landed Costs' section from 'Invoicing' tab to this section (without heading 'Landed Costs'). - Rename tab 'Invoicing' to 'Accounting' and apply group 'group_account_invoice'. - Remove 'Notes' tab and move descriptions and warnings to relative tabs(Sale, Purchase, Inventory). - Apply groups 'stock.group_stock_multi_locations' to 'Description for Internal Transfers' in 'Inventory' tab. - Improve tooltip of 'Description for Customers', 'Description for Receptions' and 'Description for Internal Transfers'. - Visible/Invisible 'Sales' and 'Purchase' stat buttons based on 'Can be Sold' and 'Can be Purchased' checkbox fields. - Update 'main_flow_tour', set trigger 'Sales' instead of 'Invoicing' as now fields 'service_policy' and 'service_tracking' will be placed in 'Sales' tab. - Move 'TaxCloud Category' field from 'Invoicing' tab to 'General Information' tab. - Rename ebay option 'Use eBay' to 'Sell on eBay' and move 'ebay' tab next to 'Sales' tab. - In 'Sales' tab, set 'Subscription Product' field before description and add string 'Subscription' to differentiate it. Full details and discussion under : https://www.odoo.com/web#id=33939&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
53 lines
2.7 KiB
XML
53 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="product_template_form_view" model="ir.ui.view">
|
|
<field name="name">product.template.form.inherit</field>
|
|
<field name="model">product.template</field>
|
|
<field name="priority">5</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<page name="inventory" position="after">
|
|
<page string="Accounting" name="invoicing" groups="account.group_account_user">
|
|
<group name="properties">
|
|
<group string="Receivables">
|
|
<field name="property_account_income_id"
|
|
domain="[('internal_type','=','other'),('deprecated','=',False)]"
|
|
groups="account.group_account_user"/>
|
|
</group>
|
|
<group string="Payables" name="payables">
|
|
<field name="property_account_expense_id"
|
|
domain="[('internal_type','=','other'),('deprecated','=',False)]"
|
|
groups="account.group_account_user"/>
|
|
</group>
|
|
</group>
|
|
<group name="accounting"/>
|
|
</page>
|
|
</page>
|
|
<field name="list_price" position="after">
|
|
<field name="taxes_id" widget="many2many_tags"/>
|
|
</field>
|
|
<group name="bill" position="inside">
|
|
<field name="supplier_taxes_id" widget="many2many_tags"/>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_category_property_form" model="ir.ui.view">
|
|
<field name="name">product.category.property.form.inherit</field>
|
|
<field name="model">product.category</field>
|
|
<field name="inherit_id" ref="product.product_category_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<group name="first" position="after">
|
|
<group name="account_property" >
|
|
<group string="Account Properties" groups="account.group_account_user">
|
|
<field name="property_account_income_categ_id" domain="[('internal_type','=','other'),('deprecated', '=', False)]"/>
|
|
<field name="property_account_expense_categ_id" domain="[('internal_type','=','other'),('deprecated', '=', False)]"/>
|
|
</group>
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|