Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] Rename point_of_payment as account_cashbox. rename methods, fie…
…lds and models acording de new name [IMP] Some views and UX Improvements
- Loading branch information
Showing
20 changed files
with
294 additions
and
269 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from . import pop_config | ||
from . import pop_session | ||
from . import pop_session_journal_control | ||
from . import account_cashbox | ||
from . import account_cashbox_session | ||
from . import account_cashbox_session_line | ||
from . import res_users | ||
from . import account_payment |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" ?> | ||
<odoo> | ||
|
||
<record id="cashbox_company_rule" model="ir.rule"> | ||
<field name="name">Cashbox multi-company</field> | ||
<field name="model_id" ref="model_account_cashbox"/> | ||
<field name="domain_force">[('company_id', 'in', company_ids)]</field> | ||
</record> | ||
|
||
<record id="cashbox_session_company_rule" model="ir.rule"> | ||
<field name="name">Cashbox Session multi-company</field> | ||
<field name="model_id" ref="model_account_cashbox_session"/> | ||
<field name="domain_force">[('company_id', 'in', company_ids)]</field> | ||
</record> | ||
|
||
<record id="cashbox_user" model="ir.rule"> | ||
<field name="name">Cashbox Invoicing User</field> | ||
<field name="model_id" ref="model_account_cashbox"/> | ||
<field name="domain_force">[('allowed_res_users_ids', '=', user.id)]</field> | ||
<field name="groups" eval="[(4, ref('account.group_account_invoice'))]"/> | ||
</record> | ||
|
||
<record id="cashbox_admin" model="ir.rule"> | ||
<field name="name">Cashbox Invoicing Manager</field> | ||
<field name="model_id" ref="model_account_cashbox"/> | ||
<field name="domain_force">[(1, '=', 1)]</field> | ||
<field name="groups" eval="[(4, ref('account.group_account_manager'))]"/> | ||
</record> | ||
|
||
<!-- invoicing user, only sessions --> | ||
<record id="cashbox_session_user" model="ir.rule"> | ||
<field name="name">Cashbox Session Invoicing User</field> | ||
<field name="model_id" ref="model_account_cashbox_session"/> | ||
<field name="domain_force">[('user_ids', '=', user.id)]</field> | ||
<field name="groups" eval="[(4, ref('account.group_account_invoice'))]"/> | ||
</record> | ||
|
||
<!-- admin user, all sessions --> | ||
<record id="cashbox_session_admin" model="ir.rule"> | ||
<field name="name">Cashbox Session Invoicing Manager</field> | ||
<field name="model_id" ref="model_account_cashbox_session"/> | ||
<field name="domain_force">[(1, '=', 1)]</field> | ||
<field name="groups" eval="[(4, ref('account.group_account_manager'))]"/> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.