Browse Source
Rename 'sale.agreement' model to 'agreement'
Rename 'sale.agreement' model to 'agreement'
Add type field on 'agreement': 'sale' or 'purchase' Add agreement_id field on supplier invoicespull/95/head
Alexis de Lattre
7 years ago
17 changed files with 140 additions and 84 deletions
-
21agreement_account/README.rst
-
6agreement_account/__manifest__.py
-
32agreement_account/demo/demo.xml
-
2agreement_account/models/__init__.py
-
8agreement_account/models/account_invoice.py
-
27agreement_account/models/agreement.py
-
6agreement_account/security/agreement_security.xml
-
4agreement_account/security/ir.model.access.csv
-
28agreement_account/views/account_invoice.xml
-
46agreement_account/views/agreement.xml
-
4agreement_sale/__manifest__.py
-
2agreement_sale/models/__init__.py
-
6agreement_sale/models/agreement.py
-
6agreement_sale/models/sale_order.py
-
10agreement_sale/views/agreement.xml
-
12agreement_sale/views/sale_order.xml
-
4agreement_sale/wizard/sale_make_invoice_advance.py
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from . import sale_agreement |
|||
from . import agreement |
|||
from . import account_invoice |
@ -1,3 +1,3 @@ |
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
|||
access_sale_agreement_read,Read access on sale.agreement to Employees,model_sale_agreement,base.group_user,1,0,0,0 |
|||
access_sale_agreement_full,Full access on sale.agreement to Invoicing and Payment grp,model_sale_agreement,account.group_account_invoice,1,1,1,1 |
|||
access_agreement_read,Read access on agreement to Employees,model_agreement,base.group_user,1,0,0,0 |
|||
access_agreement_full,Full access on agreement to Invoicing and Payment grp,model_agreement,account.group_account_invoice,1,1,1,1 |
@ -1,4 +1,4 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from . import sale_order |
|||
from . import sale_agreement |
|||
from . import agreement |
Write
Preview
Loading…
Cancel
Save
Reference in new issue