Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REL] Migration account_invoice_control to 11.0
* [FIX] Update Readme & Manifest * [REM] remove the depends to purchase and the link to PO * [REM] remove the link to SO, now is in sale_ux * [FIX] add dependencies to sale_ux module * [REM] remove the class becase now it's not necesary in this module. Moving to sale_ux & purchase_ux * [FIX] remove the executable to init and views file
- Loading branch information
1 parent
65307cb
commit 0a19a83
Showing
9 changed files
with
81 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
7 changes: 2 additions & 5 deletions
7
...unt_invoice_control/security/security.xml → ...rity/account_invoice_control_security.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<openerp> | ||
<data> | ||
<odoo> | ||
|
||
<record model="res.groups" id="group_restrict_edit_invoice"> | ||
<field name="name">Restrict Edit Invoice</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> | ||
|
||
</odoo> |
67 changes: 0 additions & 67 deletions
67
account_invoice_control/views/account_invoice_supplier_view.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
<!-- CUSTOMER INVOICES --> | ||
<record id="invoice_restrict_edit_form" model="ir.ui.view"> | ||
<field name="name">invoice.form.inherit</field> | ||
<field name="model">account.invoice</field> | ||
<field name="inherit_id" ref="sale_ux.invoice_form"/> | ||
<field name="groups_id" eval="[(6, 0, [ref('group_restrict_edit_invoice')])]"/> | ||
<field name="priority">20</field> | ||
<field name="arch" type="xml"> | ||
<field name="invoice_line_ids" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<xpath expr="//page[2]//field[@name='account_id']" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</xpath> | ||
<xpath expr="//page[2]//field[@name='company_id']" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</xpath> | ||
<field name="team_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<xpath expr="//page[@name='other_info']//field[contains(@name, 'origin')]" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</xpath> | ||
<field name="date_invoice" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="partner_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="user_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="fiscal_position_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="date_due" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="payment_term_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
<field name="partner_bank_id" position="attributes"> | ||
<attribute name="attrs">{'readonly':[('type','=','out_invoice'),('sale_order_ids','!=',[])]}</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# web | ||
ingadhoc-account-financial-tools https://github.com/ingadhoc/account-financial-tools.git | ||
ingadhoc-sale https://github.com/ingadhoc/sale.git |