Rework of the hr.expense workflow so that: - expenses paid by employee generate purchase.order - expenses paid by company generate entry that look like payments Main reason being that purchase.receipt are not active by default. That makes the entry hard to find, holes in sequences, inconsitency with payment states. It also remove the refusal of expenses as this was dead / inaccessible code, only reports can be refused. task-id: 3126550 [community](https://github.com/odoo/odoo/pull/110518) [enterprise](https://github.com/odoo/enterprise/pull/36090) closes odoo/odoo#110518 Related: odoo/upgrade#4266 Related: odoo/enterprise#36090 Signed-off-by: Laurent Smet <las@odoo.com>
16 lines
490 B
XML
16 lines
490 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="view_account_payment_method_line_tree" model="ir.ui.view">
|
|
<field name="name">account.payment.method.line.tree</field>
|
|
<field name="model">account.payment.method.line</field>
|
|
<field name="arch" type="xml">
|
|
<tree edit="0">
|
|
<field name="name" string="Payment Method Name"/>
|
|
<field name="journal_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|