Skip to content

Commit

Permalink
change 'validation' to 'approval'
Browse files Browse the repository at this point in the history
  • Loading branch information
AnizR committed Jul 18, 2023
1 parent 8b3796f commit 73a3c16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion account_invoice_validation/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AccountMove(models.Model):
store=True,
readonly=False,
copy=False,
domain="[('company_ids','in',company_id)]"
domain="[('company_ids','in',company_id)]",
)

date_assignation = fields.Date(
Expand Down
12 changes: 4 additions & 8 deletions account_invoice_validation/views/account_move.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 ACSONE SA/NV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
Expand Down Expand Up @@ -123,9 +123,7 @@
</record>

<record model="ir.ui.view" id="account_invoice_validation_form_view">
<field
name="name"
>Invoice Approval Form (in account_invoice_validation)</field>
<field name="name">Invoice Approval Form (in account_invoice_validation)</field>
<field name="model">account.move</field>
<field name="priority" eval="90" />
<field name="arch" type="xml">
Expand Down Expand Up @@ -279,9 +277,7 @@
</record>

<record model="ir.ui.view" id="account_invoice_validation_tree_view">
<field
name="name"
>Invoice Approval Tree (in account_invoice_validation)</field>
<field name="name">Invoice Approval Tree (in account_invoice_validation)</field>
<field name="model">account.move</field>
<field name="arch" type="xml">
<tree>
Expand Down Expand Up @@ -324,4 +320,4 @@
</record>


</odoo>
</odoo>

0 comments on commit 73a3c16

Please sign in to comment.