summaryrefslogtreecommitdiff
path: root/addons/l10n_latam_invoice_document/security/ir.model.access.csv
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2019-08-12 19:53:05 +0000
committerJosse Colpaert <jco@odoo.com>2019-08-22 16:18:40 +0000
commit895f89ff2d32f905ecd4b446f7c94c1c2d0a09c7 (patch)
treebae1c9ab89c803955f151d693ad34be719f66da7 /addons/l10n_latam_invoice_document/security/ir.model.access.csv
parentf84dbf63b9354a3c577589178a09c3ffb151cba3 (diff)
[ADD] l10n_latam_invoice_document: new module to manage documents types
This module special for Chile and Argentina, although e.g. Brasil and the Domenican Republic could use it too in the future. The number of an invoice does not just depend on the journal, but also on the document type which depends on the type of client you will send your invoice to. So, each of these needs their own sequence. For the vendor bills, LATAM countries are really not used to an internal reference number, so the internal number is immediately the one of the vendor. A special case is also that on certain documents, certain taxes need to be included in the backend, but should not appear on the ticket (hidden, but still included in the net price)
Diffstat (limited to 'addons/l10n_latam_invoice_document/security/ir.model.access.csv')
-rw-r--r--addons/l10n_latam_invoice_document/security/ir.model.access.csv3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/l10n_latam_invoice_document/security/ir.model.access.csv b/addons/l10n_latam_invoice_document/security/ir.model.access.csv
new file mode 100644
index 00000000000..255706e3383
--- /dev/null
+++ b/addons/l10n_latam_invoice_document/security/ir.model.access.csv
@@ -0,0 +1,3 @@
+id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
+access_l10n_latam_document_type_all,l10n_latam.document.type.all,model_l10n_latam_document_type,,1,0,0,0
+access_l10n_latam_document_type_account_manager,l10n_latam.document.type.all,model_l10n_latam_document_type,account.group_account_manager,1,1,1,0