Files
pms/pms/views/account_move_views.xml
Miguel Padin 3e9a6b00c5 [DONE] 14.0 improve compute folio sale lines and name invoice lines on change qty (#78)
* [IMP] pms: improve compute sale lines & generate new names when qty is modified @ invoice lines

* [ADD] pms: add tests for compute folio sale lines

* [FIX] pms: fix old name for av. plan & common base test class

* [FIX] pms: pre-commit fix

* [FIX] pms: fix view according to pr code review
2021-04-19 09:19:13 +02:00

25 lines
842 B
XML

<?xml version="1.0" ?>
<odoo>
<record id="move_form" model="ir.ui.view">
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_date']" position="after">
<field name="folio_ids" widget="many2many_tags" />
<field name="pms_property_id" invisible="1" />
</xpath>
<xpath expr="//field[@name='quantity']" position="before">
<field name="name_changed_by_user" invisible="1" />
</xpath>
</field>
</record>
<menuitem
name="Invoices"
id="pms_invoice_menu"
action="account.action_move_out_invoice_type"
sequence="15"
parent="pms.pms_sales_menu"
/>
</odoo>