|
40 | 40 | <field name="quantity"/>
|
41 | 41 | <field name="uos_id"/>
|
42 | 42 | <field name="price_unit"/>
|
43 |
| - <field name="discount"/> |
| 43 | + <field name="discount" groups="base.group_extended"/> |
44 | 44 | <field name="price_subtotal"/>
|
45 | 45 | </tree>
|
46 | 46 | </field>
|
|
58 | 58 | <field name="uos_id" widget="selection" on_change="uos_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})"/>
|
59 | 59 | <field name="quantity"/>
|
60 | 60 | <field name="price_unit"/>
|
61 |
| - <field name="discount"/> |
| 61 | + <field name="discount" groups="base.group_extended"/> |
62 | 62 | <field colspan="4" name="name"/>
|
63 |
| - <field colspan="4" name="origin" groups="base.group_extended"/> |
64 | 63 | <field domain="[('company_id', '=', parent.company_id), ('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id" on_change="onchange_account_id(parent.fiscal_position,account_id)" groups="base.group_user"/>
|
65 | 64 | <field domain="[('type','<>','view'), ('company_id', '=', parent.company_id), ('parent_id', '!=', False)]" name="account_analytic_id" groups="analytic.group_analytic_accounting"/>
|
66 | 65 | <newline/>
|
67 |
| - <field name="price_subtotal"/> |
68 | 66 | <field name="company_id" groups="base.group_multi_company" readonly="1"/>
|
69 | 67 | <field colspan="4" name="invoice_line_tax_id" context="{'type':parent.type}" domain="[('parent_id','=',False),('company_id', '=', parent.company_id)]"/>
|
70 | 68 | </page>
|
|
156 | 154 | <field name="currency_id" on_change="onchange_currency_id(currency_id, company_id)" width="50"/>
|
157 | 155 | <button name="%(action_account_change_currency)d" type="action" icon="terp-stock_effects-object-colorize" string="Change" attrs="{'invisible':[('state','!=','draft')]}" groups="account.group_account_user"/>
|
158 | 156 | <newline/>
|
159 |
| - <field string="Vendor" name="partner_id" domain="[('supplier','=', 1)]" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" context="{'default_customer': 0}"/> |
| 157 | + <field string="Supplier" name="partner_id" domain="[('supplier','=', 1)]" on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" context="{'default_customer': 0}"/> |
160 | 158 | <field domain="[('partner_id','=',partner_id)]" name="address_invoice_id"/>
|
161 | 159 | <field name="fiscal_position" groups="base.group_extended" widget="selection"/>
|
162 | 160 | <newline/>
|
|
452 | 450 | <menuitem action="action_invoice_tree1" id="menu_action_invoice_tree1" parent="menu_finance_receivables"/>
|
453 | 451 |
|
454 | 452 | <record id="action_invoice_tree2" model="ir.actions.act_window">
|
455 |
| - <field name="name">Vendor Invoices</field> |
| 453 | + <field name="name">Supplier Invoices</field> |
456 | 454 | <field name="res_model">account.invoice</field>
|
457 | 455 | <field name="view_type">form</field>
|
458 | 456 | <field name="view_mode">tree,form,calendar,graph</field>
|
459 | 457 | <field eval="False" name="view_id"/>
|
460 | 458 | <field name="domain">[('type','=','in_invoice')]</field>
|
461 | 459 | <field name="context">{'type':'in_invoice', 'journal_type': 'purchase'}</field>
|
462 | 460 | <field name="search_view_id" ref="view_account_invoice_filter"/>
|
463 |
| - <field name="help">Proposal for vendor invoices are usually automatically generate by OpenERP, following a procurement order or a production order for instance. To consult and to check for, or to manually create a customer invoice, use this menu. You can review, confirm or cancel, pay or refund an invoice from the view from of the invoices.</field> |
| 461 | + <field name="help">Proposal for supplier invoices are usually automatically generate by OpenERP, following a procurement order or a production order for instance. To consult and to check for, or to manually create a customer invoice, use this menu. You can review, confirm or cancel, pay or refund an invoice from the view from of the invoices.</field> |
464 | 462 | </record>
|
465 | 463 | <menuitem action="action_invoice_tree2" id="menu_action_invoice_tree2" parent="menu_finance_payables"/>
|
466 | 464 |
|
|
491 | 489 | <menuitem action="action_invoice_tree3" id="menu_action_invoice_tree3" parent="menu_finance_receivables"/>
|
492 | 490 |
|
493 | 491 | <record id="action_invoice_tree4" model="ir.actions.act_window">
|
494 |
| - <field name="name">Vendor Refunds</field> |
| 492 | + <field name="name">Supplier Refunds</field> |
495 | 493 | <field name="res_model">account.invoice</field>
|
496 | 494 | <field name="view_type">form</field>
|
497 | 495 | <field name="view_mode">tree,form,calendar,graph</field>
|
|
0 commit comments