diff options
| author | Antony Lesuisse <al@openerp.com> | 2014-06-29 23:31:16 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2014-06-30 02:12:41 +0200 |
| commit | 22f4c315a3ee4916d476fceea2a6d5a5248c8a2d (patch) | |
| tree | 470e60bcad1a17c0954b3db4faab3e173eb9e51d /openerp/addons/base/security/ir.model.access.csv | |
| parent | 5209fbc7ed9fcad966ab064654a8a8697142be42 (diff) | |
[IMP] automatic fiscal positions for simple cases
Add group of countries res.country.group
Add get_fiscal_position method a method to compute a fiscal position based on company_id, partner_id, delivery_id
The meaning of res.partner.fiscal_position is now a forced a fiscal position.
The default implementation should handle simple cases, like VAT in UE and sales
tax in the US, but the method can be overriden to handle more complex ficals
rules.
Diffstat (limited to 'openerp/addons/base/security/ir.model.access.csv')
| -rw-r--r-- | openerp/addons/base/security/ir.model.access.csv | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openerp/addons/base/security/ir.model.access.csv b/openerp/addons/base/security/ir.model.access.csv index c70733b5140..bbf579486a4 100644 --- a/openerp/addons/base/security/ir.model.access.csv +++ b/openerp/addons/base/security/ir.model.access.csv @@ -45,8 +45,10 @@ "access_res_company_group_user","res_company group_user","model_res_company",,1,0,0,0 "access_res_country_group_all","res_country group_user_all","model_res_country",,1,0,0,0 "access_res_country_state_group_all","res_country_state group_user_all","model_res_country_state",,1,0,0,0 +"access_res_country_group_group_all","res_country_group group_user_all","model_res_country_group",,1,0,0,0 "access_res_country_group_user","res_country group_user","model_res_country","group_partner_manager",1,1,1,1 "access_res_country_state_group_user","res_country_state group_user","model_res_country_state","group_partner_manager",1,1,1,1 +"access_res_country_group_group_user","res_country_group group_user","model_res_country_group","group_partner_manager",1,1,1,1 "access_res_currency_group_all","res_currency group_all","model_res_currency",,1,0,0,0 "access_res_currency_rate_group_all","res_currency_rate group_all","model_res_currency_rate",,1,0,0,0 "access_res_currency_rate_type_group_all","res_currency_rate_type group_all","model_res_currency_rate_type",,1,0,0,0 |
