Merge lp:~ingenieria-adhoc/openerp-l10n-ar-localization/merge-trunk into lp:openerp-l10n-ar-localization

Proposed by Juan José Scarafía (ADHOC)
Status: Needs review
Proposed branch: lp:~ingenieria-adhoc/openerp-l10n-ar-localization/merge-trunk
Merge into: lp:openerp-l10n-ar-localization
Diff against target: 59562 lines (+55509/-593)
354 files modified
l10n_ar_account_check_duo/__openerp__.py (+0/-1)
l10n_ar_account_check_duo/account.py (+1/-1)
l10n_ar_account_check_duo/account_check_duo.py (+2/-2)
l10n_ar_account_check_duo/account_check_duo_view.xml (+5/-8)
l10n_ar_account_check_duo/res_partner_bank.py (+1/-1)
l10n_ar_account_check_duo/ticket_deposit_view.xml (+2/-1)
l10n_ar_account_check_duo/wizard_issued/check_issued_hreject.py (+3/-5)
l10n_ar_account_check_duo/wizard_third/check_deposit.py (+3/-5)
l10n_ar_account_check_duo/wizard_third/check_dreject.py (+3/-5)
l10n_ar_account_check_duo/wizard_third/check_hreject.py (+3/-5)
l10n_ar_account_check_duo/wizard_third/check_sold.py (+3/-5)
l10n_ar_account_check_duo/wizard_third/ticket_check_deposit.py (+0/-2)
l10n_ar_chart_generic/__openerp__.py (+0/-1)
l10n_ar_chart_generic/data/account_chart_respinsc.xml (+741/-384)
l10n_ar_chart_generic/data/res_partner.xml (+3/-2)
l10n_ar_debit_note/__init__.py (+27/-0)
l10n_ar_debit_note/__openerp__.py (+37/-0)
l10n_ar_debit_note/account_invoice_view.xml (+21/-0)
l10n_ar_debit_note/account_journal.py (+39/-0)
l10n_ar_debit_note/account_journal_view.xml (+20/-0)
l10n_ar_invoice/__openerp__.py (+5/-2)
l10n_ar_invoice/config.py (+26/-5)
l10n_ar_invoice/invoice.py (+131/-99)
l10n_ar_invoice/report/__init__.py (+1/-1)
l10n_ar_invoice/security/ir.model.access.csv (+17/-17)
l10n_ar_invoice/security/l10n_ar_invoice_security.xml (+0/-11)
l10n_ar_invoice/view/afip_menuitem.xml (+1/-1)
l10n_ar_invoice/view/invoice_view.xml (+15/-2)
l10n_ar_invoice/view/partner_view.xml (+4/-10)
l10n_ar_invoice_sale/AUTHORS (+38/-0)
l10n_ar_invoice_sale/LICENSE (+661/-0)
l10n_ar_invoice_sale/__init__.py (+24/-0)
l10n_ar_invoice_sale/__openerp__.py (+43/-0)
l10n_ar_invoice_sale/sale.py (+63/-0)
l10n_ar_invoice_stock/AUTHORS (+38/-0)
l10n_ar_invoice_stock/LICENSE (+661/-0)
l10n_ar_invoice_stock/__init__.py (+24/-0)
l10n_ar_invoice_stock/__openerp__.py (+41/-0)
l10n_ar_invoice_stock/stock.py (+81/-0)
l10n_ar_invoice_stock/wizard/stock_inventory_merge_view.xml (+16/-0)
l10n_ar_pyafipws/__init__.py (+4/-0)
l10n_ar_pyafipws/__openerp__.py (+17/-0)
l10n_ar_pyafipws/afip_auth.py (+110/-0)
l10n_ar_pyafipws/authentication.py (+95/-0)
l10n_ar_pyafipws/data/account_invoice_view.xml (+54/-0)
l10n_ar_pyafipws/data/account_journal_view.xml (+32/-0)
l10n_ar_pyafipws/data/desktop.ini (+5/-0)
l10n_ar_pyafipws/data/res_company_view.xml (+25/-0)
l10n_ar_pyafipws/desktop.ini (+5/-0)
l10n_ar_pyafipws/electronic_invoice.py (+441/-0)
l10n_ar_pyafipws/journal.py (+190/-0)
l10n_ar_pyafipws/pyafipws/.hg/branch (+1/-0)
l10n_ar_pyafipws/pyafipws/.hg/cache/branchheads (+2/-0)
l10n_ar_pyafipws/pyafipws/.hg/cache/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/cache/tags (+2/-0)
l10n_ar_pyafipws/pyafipws/.hg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/hgrc (+2/-0)
l10n_ar_pyafipws/pyafipws/.hg/requires (+4/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/cot/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/pyemail/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/pyfepdf/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/pyi25/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/trazamed/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wdigdepfiel/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsaa/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsbfe/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wscoc/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsctg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsctgv11/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfe/delphi/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfe/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfe/php/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfe/vb/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfe/vfp/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfev1/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfex/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsfexv1/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wslpg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/data/ejemplos/wsmtxca/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/.hg/store/fncache (+190/-0)
l10n_ar_pyafipws/pyafipws/.hg/undo.branch (+1/-0)
l10n_ar_pyafipws/pyafipws/.hg/undo.desc (+3/-0)
l10n_ar_pyafipws/pyafipws/620059af4c96ff07eaf021b6ad080a5c.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/__init__.py (+19/-0)
l10n_ar_pyafipws/pyafipws/afip_ca_info.crt (+81/-0)
l10n_ar_pyafipws/pyafipws/build-pyafipws.bat (+17/-0)
l10n_ar_pyafipws/pyafipws/build-pyrece.bat (+35/-0)
l10n_ar_pyafipws/pyafipws/cache/24e95ac2a24a18e07d8fca057d7155da.pkl (+126/-0)
l10n_ar_pyafipws/pyafipws/cache/24e95ac2a24a18e07d8fca057d7155da.xml (+103/-0)
l10n_ar_pyafipws/pyafipws/cache/273d9007b7636f93fada0091c091a5d3.pkl (+3044/-0)
l10n_ar_pyafipws/pyafipws/cache/273d9007b7636f93fada0091c091a5d3.xml (+1433/-0)
l10n_ar_pyafipws/pyafipws/cache/3bdeb32d00343e8dc830ff5910fa29c5.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/cache/660f8b425947213db1f58a38188b32c7.pkl (+2281/-0)
l10n_ar_pyafipws/pyafipws/cache/660f8b425947213db1f58a38188b32c7.xml (+1111/-0)
l10n_ar_pyafipws/pyafipws/cache/6659e0aba0747196320d99261cd72c41.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/cache/8cebeabefb5eea5b924580ce776eb3c9.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/cache/a11e90cf2e3147385d6b459ff29f1d49.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/cache/c21512a6d76772caab62eaee1307c5e3.xml (+15/-0)
l10n_ar_pyafipws/pyafipws/cache/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/cache/e3d8feaf23cb488d40b104b7e9df0991.pkl (+2334/-0)
l10n_ar_pyafipws/pyafipws/cache/e3d8feaf23cb488d40b104b7e9df0991.xml (+1639/-0)
l10n_ar_pyafipws/pyafipws/comodo.crt (+25/-0)
l10n_ar_pyafipws/pyafipws/config-pyrece.txt (+6/-0)
l10n_ar_pyafipws/pyafipws/config.txt (+6/-0)
l10n_ar_pyafipws/pyafipws/cot.py (+300/-0)
l10n_ar_pyafipws/pyafipws/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/efactura.py (+108/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/cot/cot.bas (+66/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/cot/cot.prg (+90/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/cot/cot.vbp (+35/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/cot/cot.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/cot/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/factura_electronica.c (+91/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/factura_electronica.cs (+40/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/factura_electronica.php (+117/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/libpyafipws_dll_test.bas (+54/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/libpyafipws_dll_test.c (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/libpyafipws_dll_test.prg (+26/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/Proyecto1.vbp (+35/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/Proyecto1.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/Proyecto2.vbp (+31/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/pyemail.bas (+28/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyemail/pyemail2.bas (+45/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyfepdf/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyfepdf/pyfepdf.bas (+175/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyfepdf/pyfepdf.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyfepdf/pyfepdf.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyi25/Proyecto1.vbp (+35/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyi25/Proyecto1.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyi25/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/pyi25/pyi25.bas (+24/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/trazamed/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/trazamed/trazamed.bas (+194/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/trazamed/trazamed.prg (+177/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/trazamed/trazamed.vbp (+35/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wdigdepfiel/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wdigdepfiel/wdigdepfiel.bas (+120/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wdigdepfiel/wdigdepfiel.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wdigdepfiel/wdigdepfiel.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsaa/Form1.frm (+524/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsaa/WSAA.bas (+90/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsaa/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsaa/reusar_ticket_acceso.bas (+76/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsaa/wsaa.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe.bas (+178/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe.vbp (+32/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe_params.bas (+94/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe_params.vbp (+32/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsbfe/wsbfe_params.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wscoc/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wscoc/wscoc.bas (+258/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wscoc/wscoc.prg (+260/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wscoc/wscoc.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wscoc/wscoc.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctg/wsctg.bas (+104/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctg/wsctg.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctg/wsctg.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctgv11/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctgv11/wsctg.bas (+187/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctgv11/wsctg.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsctgv11/wsctg.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/delphi/Project1.bdsproj (+175/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/delphi/Project1.bdsproj.local (+6/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/delphi/Project1.cfg (+38/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/delphi/Project1.dpr (+123/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/delphi/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/ej_cobol.txt (+42/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/ej_powerbuilder.txt (+46/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/php/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/php/ejemplo.php (+91/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vb/Module1.bas (+124/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vb/Proyecto1.vbp (+32/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vb/Proyecto1.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vb/Proyecto2.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vb/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vfp/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfe/vfp/program1.prg (+146/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/ej_powerbuilder.txt (+100/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1.bas (+318/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1.prg (+198/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1.vb (+210/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1_caea.bas (+185/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1_caea.vbp (+34/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1_params.bas (+115/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfev1/wsfev1_params.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/wsfex.bas (+189/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/wsfex.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/wsfex.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/wsfex_params.bas (+112/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfex/wsfex_params.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfexv1/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfexv1/wsfexv1.bas (+238/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsfexv1/wsfexv1.vbp (+38/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wslpg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wslpg/wslpg.bas (+309/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wslpg/wslpg.prg (+240/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wslpg/wslpg.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wslpg/wslpg.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/desktop.ini (+5/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx.bas (+196/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx_caea.bas (+227/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx_caea.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx_params.bas (+123/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx_params.vbp (+39/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtx_params.vbw (+1/-0)
l10n_ar_pyafipws/pyafipws/ejemplos/wsmtxca/wsmtxca.prg (+229/-0)
l10n_ar_pyafipws/pyafipws/factura.csv (+533/-0)
l10n_ar_pyafipws/pyafipws/facturas.csv (+2/-0)
l10n_ar_pyafipws/pyafipws/facturas.json (+102/-0)
l10n_ar_pyafipws/pyafipws/facturas.txt (+9/-0)
l10n_ar_pyafipws/pyafipws/facturas.xml (+83/-0)
l10n_ar_pyafipws/pyafipws/formato_cot.py (+110/-0)
l10n_ar_pyafipws/pyafipws/formato_csv.py (+211/-0)
l10n_ar_pyafipws/pyafipws/formato_dbf.py (+200/-0)
l10n_ar_pyafipws/pyafipws/formato_json.py (+44/-0)
l10n_ar_pyafipws/pyafipws/formato_txt.py (+333/-0)
l10n_ar_pyafipws/pyafipws/formato_xml.py (+340/-0)
l10n_ar_pyafipws/pyafipws/geotrust.crt (+20/-0)
l10n_ar_pyafipws/pyafipws/instalar-pyafipws.bat (+18/-0)
l10n_ar_pyafipws/pyafipws/instalar-pyrece.bat (+17/-0)
l10n_ar_pyafipws/pyafipws/libpyafipws.c (+272/-0)
l10n_ar_pyafipws/pyafipws/libpyafipws.def (+16/-0)
l10n_ar_pyafipws/pyafipws/libpyafipws.h (+79/-0)
l10n_ar_pyafipws/pyafipws/licencia-pyafipws.txt (+683/-0)
l10n_ar_pyafipws/pyafipws/licencia-pyrece.txt (+683/-0)
l10n_ar_pyafipws/pyafipws/licencia.txt (+685/-0)
l10n_ar_pyafipws/pyafipws/liquidacion_form_c1116b_wslpg.csv (+153/-0)
l10n_ar_pyafipws/pyafipws/nsis.py (+238/-0)
l10n_ar_pyafipws/pyafipws/php.py (+37/-0)
l10n_ar_pyafipws/pyafipws/pyafipws.idl (+48/-0)
l10n_ar_pyafipws/pyafipws/pyafipws.py (+1045/-0)
l10n_ar_pyafipws/pyafipws/pyemail.py (+226/-0)
l10n_ar_pyafipws/pyafipws/pyfepdf.py (+960/-0)
l10n_ar_pyafipws/pyafipws/pyi25.py (+192/-0)
l10n_ar_pyafipws/pyafipws/pyrece.py (+1109/-0)
l10n_ar_pyafipws/pyafipws/pyrece.rsrc.py (+213/-0)
l10n_ar_pyafipws/pyafipws/rece.ini.dist (+98/-0)
l10n_ar_pyafipws/pyafipws/rece.py (+244/-0)
l10n_ar_pyafipws/pyafipws/rece1.py (+552/-0)
l10n_ar_pyafipws/pyafipws/receb.py (+343/-0)
l10n_ar_pyafipws/pyafipws/recem.py (+792/-0)
l10n_ar_pyafipws/pyafipws/recex.py (+414/-0)
l10n_ar_pyafipws/pyafipws/recex1.py (+514/-0)
l10n_ar_pyafipws/pyafipws/rg1361.py (+457/-0)
l10n_ar_pyafipws/pyafipws/setup.py (+29/-0)
l10n_ar_pyafipws/pyafipws/setup_cot.py (+55/-0)
l10n_ar_pyafipws/pyafipws/setup_pyfepdf.py (+66/-0)
l10n_ar_pyafipws/pyafipws/setup_pyrece.py (+80/-0)
l10n_ar_pyafipws/pyafipws/setup_trazamed.py (+60/-0)
l10n_ar_pyafipws/pyafipws/setup_typelib.py (+79/-0)
l10n_ar_pyafipws/pyafipws/setup_wsaa.py (+68/-0)
l10n_ar_pyafipws/pyafipws/setup_wscoc.py (+60/-0)
l10n_ar_pyafipws/pyafipws/setup_wsctg11.py (+58/-0)
l10n_ar_pyafipws/pyafipws/setup_wsfev1.py (+71/-0)
l10n_ar_pyafipws/pyafipws/setup_wsfexv1.py (+59/-0)
l10n_ar_pyafipws/pyafipws/setup_wslpg.py (+73/-0)
l10n_ar_pyafipws/pyafipws/setup_wsmtx.py (+49/-0)
l10n_ar_pyafipws/pyafipws/soap.py (+227/-0)
l10n_ar_pyafipws/pyafipws/thawte.crt (+19/-0)
l10n_ar_pyafipws/pyafipws/trazamed.idl (+80/-0)
l10n_ar_pyafipws/pyafipws/trazamed.py (+717/-0)
l10n_ar_pyafipws/pyafipws/typelib.py (+45/-0)
l10n_ar_pyafipws/pyafipws/utils.py (+288/-0)
l10n_ar_pyafipws/pyafipws/wdigdepfiel.py (+184/-0)
l10n_ar_pyafipws/pyafipws/wsaa-openssl.py (+31/-0)
l10n_ar_pyafipws/pyafipws/wsaa.c (+215/-0)
l10n_ar_pyafipws/pyafipws/wsaa.idl (+63/-0)
l10n_ar_pyafipws/pyafipws/wsaa.py (+380/-0)
l10n_ar_pyafipws/pyafipws/wsbfe.py (+465/-0)
l10n_ar_pyafipws/pyafipws/wscoc.py (+1032/-0)
l10n_ar_pyafipws/pyafipws/wsctg.ini (+12/-0)
l10n_ar_pyafipws/pyafipws/wsctg.py (+341/-0)
l10n_ar_pyafipws/pyafipws/wsctg11.py (+1012/-0)
l10n_ar_pyafipws/pyafipws/wsfe.py (+197/-0)
l10n_ar_pyafipws/pyafipws/wsfev1.c (+107/-0)
l10n_ar_pyafipws/pyafipws/wsfev1.idl (+191/-0)
l10n_ar_pyafipws/pyafipws/wsfev1.py (+1176/-0)
l10n_ar_pyafipws/pyafipws/wsfex.py (+699/-0)
l10n_ar_pyafipws/pyafipws/wsfexv1.py (+696/-0)
l10n_ar_pyafipws/pyafipws/wslpg.ini (+32/-0)
l10n_ar_pyafipws/pyafipws/wslpg.py (+2106/-0)
l10n_ar_pyafipws/pyafipws/wslpg_datos.py (+114/-0)
l10n_ar_pyafipws/pyafipws/wsmtx.py (+938/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/bookmarks (+2/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/branch (+1/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/cache/branchheads (+7/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/cache/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/cache/tags (+6/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/hgrc (+2/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/requires (+4/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store (1)/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store/data/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store/data/pysimplesoap/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store/data/tests/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/store/fncache (+30/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/undo.branch (+1/-0)
l10n_ar_pyafipws/pysimplesoap/.hg/undo.desc (+3/-0)
l10n_ar_pyafipws/pysimplesoap/.hgignore (+5/-0)
l10n_ar_pyafipws/pysimplesoap/README (+20/-0)
l10n_ar_pyafipws/pysimplesoap/build/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/__init__.py (+7/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/client.py (+801/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/server.py (+559/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/simplexml.py (+583/-0)
l10n_ar_pyafipws/pysimplesoap/build/lib.linux-x86_64-2.7/pysimplesoap/transport.py (+241/-0)
l10n_ar_pyafipws/pysimplesoap/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/__init__.py (+7/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/client.py (+801/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/server.py (+559/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/simplexml.py (+583/-0)
l10n_ar_pyafipws/pysimplesoap/pysimplesoap/transport.py (+241/-0)
l10n_ar_pyafipws/pysimplesoap/setup.py (+22/-0)
l10n_ar_pyafipws/pysimplesoap/tests/afip_tests.py (+144/-0)
l10n_ar_pyafipws/pysimplesoap/tests/client_tests.py (+205/-0)
l10n_ar_pyafipws/pysimplesoap/tests/desktop.ini (+5/-0)
l10n_ar_pyafipws/pysimplesoap/tests/dummy_utils.py (+7/-0)
l10n_ar_pyafipws/pysimplesoap/tests/issues_tests.py (+199/-0)
l10n_ar_pyafipws/pysimplesoap/tests/licencias_tests.py (+62/-0)
l10n_ar_pyafipws/pysimplesoap/tests/server_multins_test.py (+197/-0)
l10n_ar_pyafipws/pysimplesoap/tests/simplexmlelement_test.py (+145/-0)
l10n_ar_pyafipws/pysimplesoap/tests/soapdispatcher_test.py (+97/-0)
l10n_ar_pyafipws/pysimplesoap/tests/suite.py (+32/-0)
l10n_ar_pyafipws/pysimplesoap/tests/trazamed_tests.py (+156/-0)
l10n_ar_pyafipws/pysimplesoap/tests/wsfexv1_getcmp.xml (+54/-0)
l10n_ar_pyafipws/reingart.crt (+23/-0)
l10n_ar_pyafipws/reingart.key (+15/-0)
l10n_ar_pyafipws/reingart/reingart.crt (+23/-0)
l10n_ar_pyafipws/reingart/reingart.key (+15/-0)
l10n_ar_vat_reports/__openerp__.py (+20/-9)
l10n_ar_vat_reports/i18n/es.po (+173/-0)
l10n_ar_vat_reports/i18n/es_AR.po (+173/-0)
l10n_ar_vat_reports/i18n/l10n_ar_vat_reports.pot (+172/-0)
l10n_ar_vat_reports/report/report_data.xml (+1/-2)
l10n_ar_vat_reports/wizard/report_prompt.py (+59/-4)
l10n_ar_vat_reports/wizard/report_prompt.xml (+5/-2)
To merge this branch: bzr merge lp:~ingenieria-adhoc/openerp-l10n-ar-localization/merge-trunk
Reviewer Review Type Date Requested Status
Cristian Sebastian Rocha Pending
Review via email: mp+201075@code.launchpad.net

Description of the change

---------------
Nuevo merge proposal que reemplaza el anterior https://code.launchpad.net/~sistemas-adhoc/openerp-l10n-ar-localization/trunk/+merge/200123

MODIFICACIONES
PARTE 1
Se arregla el siguiente bug https://bugs.launchpad.net/openerp-l10n-ar-localization/+bug/1270940

PARTE 2
Agregado de un modulo sencillo para gestionar las debit notes. Es super simple como funciona y resolvería le necesidad.

Arreglos y mejoras al libro de iva ventas y compras (capacidad de numeración correlativa, titulos y demás)

Arreglos al plan contable

Agregados dos modulos de instalación automática (cuando las dependencias se satisfacen) que elijen el diario automáticamente según la responsbilidad del partner y de la compañía. Esto se hizo desde las ordenes de venta y desde los picking.

TODO: en account_invoice, al cambiar el partner, hay un onchange que elije el jorunal correcto según las posiciones fiscales y también cambia el dominio de journal_id para que muestre solo los diarios que podrían utilizarse. El problema es que cuando la invoice se crea mediante un método, se está eligiendo el diario correcto pero no se esta modificando el dominio de journal_id. No se como realizarlo. Intenté poner un campo function tipo m2m o o2m donde mostraba los journas correctos y luego una restricción de dominio en journal tipo domain="[('id','in', campo_con_journals)]" pero no me funcionó. Alguna idea?

PARTE 3
Basicamente:
MOD Move document_id and document_number form partner main form to accounting page

IMP add vat_reports translations

REM l10n_ar_reports_samples folder (es basura)

REM afip accounting user groups because there is no need to have them

REF move afip configuration menu to accounting configuration menu (nos pareció más prolijo y apropiado, también por un tema de permisos ya que account manager puede acceder a esto y no hace falta que le demos permiso a configuración del sistema)

IMP General improovements for vat report

RM Se borra el menu padre de cheques para mejorar usabilidad según buenos usos y prácticas de open, se evita desplegar dicho menu. Se remueve dependencial moudlo de debit notes (queda opciónal para quien lo desee usar)

To post a comment you must log in.
252. By Juan José Scarafía (ADHOC)

MERGE with trunk

253. By Juan José Scarafía (ADHOC)

MERGE con lp:~sistemas-adhoc/openerp-l10n-ar-localization/trunk

Unmerged revisions

253. By Juan José Scarafía (ADHOC)

MERGE con lp:~sistemas-adhoc/openerp-l10n-ar-localization/trunk

252. By Juan José Scarafía (ADHOC)

MERGE with trunk

251. By Juan José Scarafía (ADHOC)

RM l10n_ar_pyafipws

250. By Juan José Scarafía (ADHOC)

ADD l10n_ar_invoice_stock module

249. By Juan José Scarafía (ADHOC)

ADD l10n_ar_invoice_sale module

248. By Juan José Scarafía (ADHOC)

MOD Modify the way journals are get so that it can be reused from another modules

247. By Juan José Scarafía (ADHOC)

MERGE

246. By Juan José Scarafía (ADHOC)

ADD debit note module

245. By Juan José Scarafía (ADHOC)

MOD ignored new invoice report

244. By Juan José Scarafía (ADHOC)

ADD l10n_ar_pyafipws

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_ar_account_check_duo/__openerp__.py'
2--- l10n_ar_account_check_duo/__openerp__.py 2014-01-09 15:19:22 +0000
3+++ l10n_ar_account_check_duo/__openerp__.py 2014-01-20 20:26:39 +0000
4@@ -42,7 +42,6 @@
5 'demo': [],
6 'depends': [ 'account',
7 'account_voucher',
8- 'l10n_ar_account_check_debit_note',
9 'report_webkit'],
10 'description': '\n\n \n\n This module provides to manage checks (issued and third) \n\n Add models of Issued Checks and Third Checks. (Accounting/Banck ans Cash/Checks/)\n\n Add options in Jorunals for using checks in vouchers.\n\n Add range of numbers for issued check (CheckBook).Accounting/configuration/Miscellaneous/CheckBooks.\n\n Add ticket deposit for third checks. Change states from Holding to deposited.(Accounting/Banck ans Cash/Checks/)\n\n \n\n\t\t',
11 'installable': True,
12
13=== modified file 'l10n_ar_account_check_duo/account.py'
14--- l10n_ar_account_check_duo/account.py 2014-01-09 15:19:22 +0000
15+++ l10n_ar_account_check_duo/account.py 2014-01-20 20:26:39 +0000
16@@ -19,7 +19,7 @@
17 #
18 ##############################################################################
19
20-from osv import osv, fields
21+from openerp.osv import osv, fields
22
23 class account_journal(osv.osv):
24 _name = 'account.journal'
25
26=== modified file 'l10n_ar_account_check_duo/account_check_duo.py'
27--- l10n_ar_account_check_duo/account_check_duo.py 2014-01-09 15:19:22 +0000
28+++ l10n_ar_account_check_duo/account_check_duo.py 2014-01-20 20:26:39 +0000
29@@ -19,11 +19,11 @@
30 #
31 ##############################################################################
32
33-from osv import fields, osv
34+from openerp.osv import fields, osv
35 import logging
36 import time
37 _logger = logging.getLogger(__name__)
38-from tools.translate import _
39+from openerp.tools.translate import _
40 from datetime import datetime
41
42 class account_issued_check(osv.osv):
43
44=== modified file 'l10n_ar_account_check_duo/account_check_duo_view.xml'
45--- l10n_ar_account_check_duo/account_check_duo_view.xml 2014-01-09 15:19:22 +0000
46+++ l10n_ar_account_check_duo/account_check_duo_view.xml 2014-01-20 20:26:39 +0000
47@@ -1,12 +1,7 @@
48 <?xml version="1.0" encoding="utf-8"?>
49 <openerp>
50 <data>
51-
52- <!-- crea el menu principal-->
53-
54- <menuitem id="menu_account_check" name="Checks" sequence="100"
55- parent="account.menu_finance_bank_and_cash" />
56-
57+
58
59 <!-- Issued Check -->
60 <record model="ir.ui.view" id="view_account_issued_check_tree">
61@@ -105,7 +100,8 @@
62 action="action_issued_check"
63 id="menu_treasury_issued_check"
64 name="Issued Checks"
65- parent="menu_account_check"/>
66+ sequence="40"
67+ parent="account.menu_finance_bank_and_cash"/>
68
69
70
71@@ -213,7 +209,8 @@
72 action="action_third_check"
73 id="menu_treasury_third_check"
74 name="Third Checks"
75- parent="menu_account_check"/>
76+ sequence="50"
77+ parent="account.menu_finance_bank_and_cash"/>
78
79 </data>
80 </openerp>
81
82=== modified file 'l10n_ar_account_check_duo/res_partner_bank.py'
83--- l10n_ar_account_check_duo/res_partner_bank.py 2014-01-09 15:19:22 +0000
84+++ l10n_ar_account_check_duo/res_partner_bank.py 2014-01-20 20:26:39 +0000
85@@ -19,7 +19,7 @@
86 #
87 ##############################################################################
88
89-from osv import fields, osv
90+from openerp.osv import fields, osv
91
92
93 class res_partner_bank(osv.osv):
94
95=== modified file 'l10n_ar_account_check_duo/ticket_deposit_view.xml'
96--- l10n_ar_account_check_duo/ticket_deposit_view.xml 2013-10-05 18:19:06 +0000
97+++ l10n_ar_account_check_duo/ticket_deposit_view.xml 2014-01-20 20:26:39 +0000
98@@ -64,7 +64,8 @@
99 action="action_ticket_deposit_menu"
100 id="menu_treasury_ticket_deposit"
101 name="Ticket Deposit"
102- parent="menu_account_check"/>
103+ sequence="60"
104+ parent="account.menu_finance_bank_and_cash"/>
105
106
107
108
109=== modified file 'l10n_ar_account_check_duo/wizard_issued/check_issued_hreject.py'
110--- l10n_ar_account_check_duo/wizard_issued/check_issued_hreject.py 2014-01-09 15:19:22 +0000
111+++ l10n_ar_account_check_duo/wizard_issued/check_issued_hreject.py 2014-01-20 20:26:39 +0000
112@@ -19,9 +19,9 @@
113 #
114 ##############################################################################
115
116-from osv import osv, fields
117-from tools.translate import _
118-import netsvc
119+from openerp.osv import osv, fields
120+from openerp.tools.translate import _
121+from openerp import netsvc
122
123 class account_issuedcheck_hreject(osv.osv_memory):
124
125@@ -131,7 +131,6 @@
126 'move_id': move_id,
127 'journal_id': check.voucher_id.journal_id.id,
128 'period_id': period_id,
129- 'date': wizard.reject_date,
130 'debit': wizard.expense_amount,
131 'credit': 0.0,
132 'ref': 'Check Rejected Hand Nr. ' + check.number,
133@@ -145,7 +144,6 @@
134 'move_id': move_id,
135 'journal_id': check.voucher_id.journal_id.id,
136 'period_id': period_id,
137- 'date': wizard.reject_date,
138 'debit': 0.0,
139 'credit': wizard.expense_amount,
140 'ref': 'Check Rejected Hand Nr. ' + check.number,
141
142=== modified file 'l10n_ar_account_check_duo/wizard_third/check_deposit.py'
143--- l10n_ar_account_check_duo/wizard_third/check_deposit.py 2014-01-09 15:19:22 +0000
144+++ l10n_ar_account_check_duo/wizard_third/check_deposit.py 2014-01-20 20:26:39 +0000
145@@ -19,9 +19,9 @@
146 #
147 ##############################################################################
148
149-from osv import osv, fields
150-from tools.translate import _
151-import netsvc
152+from openerp.osv import osv, fields
153+from openerp.tools.translate import _
154+from openerp import netsvc
155
156 class account_check_deposit(osv.osv_memory):
157 _name = 'account.check.deposit'
158@@ -81,7 +81,6 @@
159 'move_id': move_id,
160 'journal_id': check.voucher_id.journal_id.id,
161 'period_id': period_id,
162- 'date': check.date,
163 'debit': check.amount,
164 'credit': 0.0,
165 'ref': 'Check Deposit Nr. ' + check.number,
166@@ -94,7 +93,6 @@
167 'move_id': move_id,
168 'journal_id': check.voucher_id.journal_id.id,
169 'period_id': period_id,
170- 'date': check.date,
171 'debit': 0.0,
172 'credit': check.amount,
173 'ref': 'Check Deposit Nr. ' + check.number,
174
175=== modified file 'l10n_ar_account_check_duo/wizard_third/check_dreject.py'
176--- l10n_ar_account_check_duo/wizard_third/check_dreject.py 2014-01-09 15:19:22 +0000
177+++ l10n_ar_account_check_duo/wizard_third/check_dreject.py 2014-01-20 20:26:39 +0000
178@@ -19,9 +19,9 @@
179 #
180 ##############################################################################
181
182-from osv import osv, fields
183-from tools.translate import _
184-import netsvc
185+from openerp.osv import osv, fields
186+from openerp.tools.translate import _
187+from openerp import netsvc
188
189
190 class account_check_dreject(osv.osv_memory):
191@@ -126,7 +126,6 @@
192 'move_id': move_id,
193 'journal_id': check.voucher_id.journal_id.id,
194 'period_id': period_id,
195- 'date': wizard.reject_date,
196 'debit': wizard.expense_amount,
197 'credit': 0.0,
198 'ref': 'Check Dep Reject Nr. ' + check.number,
199@@ -140,7 +139,6 @@
200 'move_id': move_id,
201 'journal_id': check.voucher_id.journal_id.id,
202 'period_id': period_id,
203- 'date': wizard.reject_date,
204 'debit': 0.0,
205 'credit': wizard.expense_amount,
206 'ref': 'Check Dep Reject Nr. ' + check.number,
207
208=== modified file 'l10n_ar_account_check_duo/wizard_third/check_hreject.py'
209--- l10n_ar_account_check_duo/wizard_third/check_hreject.py 2014-01-09 15:19:22 +0000
210+++ l10n_ar_account_check_duo/wizard_third/check_hreject.py 2014-01-20 20:26:39 +0000
211@@ -19,9 +19,9 @@
212 #
213 ##############################################################################
214
215-from osv import osv, fields
216-from tools.translate import _
217-import netsvc
218+from openerp.osv import osv, fields
219+from openerp.tools.translate import _
220+from openerp import netsvc
221 import logging
222
223 _logger = logging.getLogger(__name__)
224@@ -181,7 +181,6 @@
225 'move_id': move_id,
226 'journal_id': check.voucher_id.journal_id.id,
227 'period_id': period_id,
228- 'date': wizard.reject_date,
229 'debit': wizard.expense_amount,
230 'credit': 0.0,
231 'ref': 'Check Rejected Hand Nr. ' + check.number,
232@@ -195,7 +194,6 @@
233 'move_id': move_id,
234 'journal_id': check.voucher_id.journal_id.id,
235 'period_id': period_id,
236- 'date': wizard.reject_date,
237 'debit': 0.0,
238 'credit': wizard.expense_amount,
239 'ref': 'Check Rejected Hand Nr. ' + check.number,
240
241=== modified file 'l10n_ar_account_check_duo/wizard_third/check_sold.py'
242--- l10n_ar_account_check_duo/wizard_third/check_sold.py 2014-01-09 15:19:22 +0000
243+++ l10n_ar_account_check_duo/wizard_third/check_sold.py 2014-01-20 20:26:39 +0000
244@@ -19,9 +19,9 @@
245 #
246 ##############################################################################
247
248-from osv import osv, fields
249-from tools.translate import _
250-import netsvc
251+from openerp.osv import osv, fields
252+from openerp.tools.translate import _
253+from openerp import netsvc
254 import time
255
256
257@@ -102,7 +102,6 @@
258 'move_id': move_id,
259 'journal_id': check.voucher_id.journal_id.id,
260 'period_id': period_id,
261- 'date': wizard.sold_date,
262 'debit': check.amount - wizard.expense_amount,
263 'credit': 0.0,
264 'ref': 'Check Sold Nr. ' + check.number,
265@@ -116,7 +115,6 @@
266 'move_id': move_id,
267 'journal_id': check.voucher_id.journal_id.id,
268 'period_id': period_id,
269- 'date': wizard.sold_date,
270 'debit': 0.0,
271 'credit':check.amount,
272 'ref': 'Check Sold Nr. ' + check.number,
273
274=== modified file 'l10n_ar_account_check_duo/wizard_third/ticket_check_deposit.py'
275--- l10n_ar_account_check_duo/wizard_third/ticket_check_deposit.py 2013-10-05 18:19:06 +0000
276+++ l10n_ar_account_check_duo/wizard_third/ticket_check_deposit.py 2014-01-20 20:26:39 +0000
277@@ -153,7 +153,6 @@
278 'move_id': move_id,
279 'journal_id': check.voucher_id.journal_id.id,
280 'period_id': period_id,
281- 'date': check.date,
282 'debit': check.amount,
283 'credit': 0.0,
284 'ref': 'Check Deposit Nr. ' + check.number,
285@@ -166,7 +165,6 @@
286 'move_id': move_id,
287 'journal_id': check.voucher_id.journal_id.id,
288 'period_id': period_id,
289- 'date': check.date,
290 'debit': 0.0,
291 'credit': check.amount,
292 'ref': 'Check Deposit Nr. ' + check.number,
293
294=== modified file 'l10n_ar_chart_generic/__openerp__.py'
295--- l10n_ar_chart_generic/__openerp__.py 2014-01-09 15:19:22 +0000
296+++ l10n_ar_chart_generic/__openerp__.py 2014-01-20 20:26:39 +0000
297@@ -37,7 +37,6 @@
298 'account',
299 'base_vat',
300 'base_iban',
301- 'account_chart',
302 'l10n_ar_states',
303 'l10n_ar_base_vat',
304 ],
305
306=== modified file 'l10n_ar_chart_generic/data/account_chart_respinsc.xml'
307--- l10n_ar_chart_generic/data/account_chart_respinsc.xml 2013-11-05 18:20:01 +0000
308+++ l10n_ar_chart_generic/data/account_chart_respinsc.xml 2014-01-20 20:26:39 +0000
309@@ -32,7 +32,7 @@
310
311 <record model="account.account.template" id="ri_activo">
312 <field name="type">view</field>
313- <field name="code">1*</field>
314+ <field name="code">1</field>
315 <field name="user_type" ref="account.data_account_type_view"/>
316 <field name="name">ACTIVO</field>
317 <field name="parent_id" ref="ri_a_root"/>
318@@ -40,7 +40,7 @@
319
320 <record model="account.account.template" id="ri_activo_corriente">
321 <field name="type">view</field>
322- <field name="code">11*</field>
323+ <field name="code">11</field>
324 <field name="user_type" ref="account.data_account_type_view"/>
325 <field name="name">ACTIVO CORRIENTE</field>
326 <field name="parent_id" ref="ri_activo"/>
327@@ -48,184 +48,176 @@
328
329 <record model="account.account.template" id="ri_disponibilidades">
330 <field name="type">view</field>
331- <field name="code">111*</field>
332+ <field name="code">111</field>
333 <field name="user_type" ref="account.data_account_type_view"/>
334 <field name="name">DISPONIBILIDADES</field>
335 <field name="parent_id" ref="ri_activo_corriente"/>
336 </record>
337
338+ <record model="account.account.template" id="ri_caja">
339+ <field name="type">view</field>
340+ <field name="code">1111</field>
341+ <field name="user_type" ref="account.data_account_type_view"/>
342+ <field name="name">CAJAS</field>
343+ <field name="parent_id" ref="ri_disponibilidades"/>
344+ </record>
345+
346 <record model="account.account.template" id="ri_caja_pesos">
347- <field name="type">other</field>
348- <field name="code">11101</field>
349+ <field name="type">liquidity</field>
350+ <field name="code">1111010</field>
351 <field name="user_type" ref="account.data_account_type_cash"/>
352 <field name="name">Caja pesos</field>
353- <field name="parent_id" ref="ri_disponibilidades"/>
354+ <field name="parent_id" ref="ri_caja"/>
355 </record>
356
357 <record model="account.account.template" id="ri_caja_monex">
358- <field name="type">other</field>
359- <field name="code">11102</field>
360+ <field name="type">liquidity</field>
361+ <field name="code">1111020</field>
362 <field name="user_type" ref="account.data_account_type_cash"/>
363 <field name="name">Caja Monex</field>
364- <field name="parent_id" ref="ri_disponibilidades"/>
365+ <field name="parent_id" ref="ri_caja"/>
366 </record>
367
368 <record model="account.account.template" id="ri_fondo_fijo">
369- <field name="type">other</field>
370- <field name="code">11103</field>
371+ <field name="type">liquidity</field>
372+ <field name="code">1111030</field>
373 <field name="user_type" ref="account.data_account_type_cash"/>
374 <field name="name">Fondo fijo</field>
375+ <field name="parent_id" ref="ri_caja"/>
376+ </record>
377+
378+ <record model="account.account.template" id="ri_valores">
379+ <field name="type">liquidity</field>
380+ <field name="code">1111040</field>
381+ <field name="user_type" ref="data_account_type_check"/>
382+ <field name="name">Valores en cartera</field>
383+ <field name="parent_id" ref="ri_caja"/>
384+ </record>
385+
386+ <record model="account.account.template" id="ri_bancos">
387+ <field name="type">view</field>
388+ <field name="code">1112</field>
389+ <field name="user_type" ref="account.data_account_type_view"/>
390+ <field name="name">BANCOS</field>
391 <field name="parent_id" ref="ri_disponibilidades"/>
392- </record>
393+ </record>
394
395- <record model="account.account.template" id="ri_banco">
396- <field name="type">other</field>
397- <field name="code">11104</field>
398+ <record model="account.account.template" id="ri_banco_1">
399+ <field name="type">liquidity</field>
400+ <field name="code">1112010</field>
401 <field name="user_type" ref="account.data_account_type_bank"/>
402- <field name="name">Banco</field>
403- <field name="parent_id" ref="ri_disponibilidades"/>
404- </record>
405-
406- <record model="account.account.template" id="ri_valores_a_depositar">
407- <field name="type">liquidity</field>
408- <field name="code">11105</field>
409- <field name="user_type" ref="data_account_type_check"/>
410- <field name="name">Valores a depositar</field>
411- <field name="parent_id" ref="ri_disponibilidades"/>
412- </record>
413-
414- <record model="account.account.template" id="ri_creditos">
415+ <field name="name">Banco x cuenta corriente xxxxx</field>
416+ <field name="parent_id" ref="ri_bancos"/>
417+ </record>
418+
419+ <record model="account.account.template" id="ri_creditos_comerciales">
420 <field name="type">view</field>
421- <field name="code">113*</field>
422+ <field name="code">112</field>
423 <field name="user_type" ref="account.data_account_type_view"/>
424- <field name="name">CRÉDITOS</field>
425+ <field name="name">CRÉDITOS COMERCIALES</field>
426 <field name="parent_id" ref="ri_activo_corriente"/>
427 </record>
428
429 <record model="account.account.template" id="ri_deudores_por_ventas">
430 <field name="type">receivable</field>
431- <field name="code">11301</field>
432+ <field name="code">1120010</field>
433 <field name="user_type" ref="account.data_account_type_receivable"/>
434 <field name="name">Deudores por ventas</field>
435- <field name="parent_id" ref="ri_creditos"/>
436- <field name="reconcile" eval="True"/>
437+ <field name="parent_id" ref="ri_creditos_comerciales"/>
438+ <field name="reconcile" eval="True"/>
439 </record>
440
441 <record model="account.account.template" id="ri_deudores_morosos">
442 <field name="type">receivable</field>
443- <field name="code">11302</field>
444+ <field name="code">1120020</field>
445 <field name="user_type" ref="account.data_account_type_receivable"/>
446 <field name="name">Deudores morosos</field>
447- <field name="parent_id" ref="ri_creditos"/>
448+ <field name="parent_id" ref="ri_creditos_comerciales"/>
449 </record>
450
451 <record model="account.account.template" id="ri_otros_creditos">
452 <field name="type">view</field>
453- <field name="code">114*</field>
454+ <field name="code">113</field>
455 <field name="user_type" ref="account.data_account_type_view"/>
456 <field name="name">OTROS CRÉDITOS</field>
457 <field name="parent_id" ref="ri_activo_corriente"/>
458 </record>
459
460+ <record model="account.account.template" id="ri_deudores_morosos">
461+ <field name="type">receivable</field>
462+ <field name="code">1130010</field>
463+ <field name="user_type" ref="account.data_account_type_receivable"/>
464+ <field name="name">Deudores varios</field>
465+ <field name="parent_id" ref="ri_otros_creditos"/>
466+ </record>
467+
468 <record model="account.account.template" id="ri_creditos_impuestos">
469 <field name="type">view</field>
470- <field name="code">1144*</field>
471+ <field name="code">114</field>
472 <field name="user_type" ref="account.data_account_type_view"/>
473 <field name="name">CRÉDITOS POR IMPUESTOS</field>
474- <field name="parent_id" ref="ri_otros_creditos"/>
475- </record>
476-
477- <record model="account.account.template" id="ri_creditos_ganancias_sociedades">
478- <field name="type">view</field>
479- <field name="code">11440010*</field>
480- <field name="user_type" ref="account.data_account_type_view"/>
481- <field name="name">GANANCIAS SOCIEDADES</field>
482- <field name="parent_id" ref="ri_creditos_impuestos"/>
483- </record>
484-
485- <record model="account.account.template" id="ri_retencion_impuestos_ganancias_sociedades">
486- <field name="type">receivable</field>
487- <field name="code">1144001010</field>
488- <field name="user_type" ref="account.data_account_type_receivable"/>
489- <field name="name">Retención impuestos a las ganancias sociedades</field>
490- <field name="parent_id" ref="ri_creditos_ganancias_sociedades"/>
491- </record>
492-
493- <record model="account.account.template" id="ri_anticipo_impuestos_ganancias_sociedades">
494- <field name="type">receivable</field>
495- <field name="code">1144001020</field>
496- <field name="user_type" ref="account.data_account_type_receivable"/>
497- <field name="name">Anticipo impuestos a las ganancias sociedades</field>
498- <field name="parent_id" ref="ri_creditos_ganancias_sociedades"/>
499- </record>
500-
501- <record model="account.account.template" id="ri_saldo_favorable_ing_ganancias_sociedades">
502- <field name="type">receivable</field>
503- <field name="code">1144001030</field>
504- <field name="user_type" ref="account.data_account_type_receivable"/>
505- <field name="name">Saldo a favor ingresos a las ganancias sociedades</field>
506- <field name="parent_id" ref="ri_creditos_ganancias_sociedades"/>
507- </record>
508-
509- <record model="account.account.template" id="ri_creditos_ganancias_personas">
510- <field name="type">view</field>
511- <field name="code">11440011*</field>
512- <field name="user_type" ref="account.data_account_type_view"/>
513- <field name="name">GANANCIAS PERSONAS FISICAS</field>
514- <field name="parent_id" ref="ri_creditos_impuestos"/>
515- </record>
516-
517- <record model="account.account.template" id="ri_retencion_impuestos_ganancias_personas">
518- <field name="type">receivable</field>
519- <field name="code">1144001110</field>
520- <field name="user_type" ref="account.data_account_type_receivable"/>
521- <field name="name">Retención impuestos a las ganancias p. fisicas</field>
522- <field name="parent_id" ref="ri_creditos_ganancias_personas"/>
523- </record>
524-
525- <record model="account.account.template" id="ri_anticipo_impuestos_ganancias_personas">
526- <field name="type">receivable</field>
527- <field name="code">1144001120</field>
528- <field name="user_type" ref="account.data_account_type_receivable"/>
529- <field name="name">Anticipo impuestos a las ganancias p. fisicas</field>
530- <field name="parent_id" ref="ri_creditos_ganancias_personas"/>
531- </record>
532-
533- <record model="account.account.template" id="ri_saldo_favorable_ing_ganancias_personas">
534- <field name="type">receivable</field>
535- <field name="code">1144001130</field>
536- <field name="user_type" ref="account.data_account_type_receivable"/>
537- <field name="name">Saldo a favor ingresos a las ganancias sociedades</field>
538- <field name="parent_id" ref="ri_creditos_ganancias_personas"/>
539- </record>
540-
541- <record model="account.account.template" id="ri_credito_iva">
542- <field name="type">view</field>
543- <field name="code">11440030*</field>
544- <field name="user_type" ref="account.data_account_type_view"/>
545- <field name="name">IMPUESTO AL VALOR AGREGADO</field>
546- <field name="parent_id" ref="ri_creditos_impuestos"/>
547- </record>
548+ <field name="parent_id" ref="ri_activo_corriente"/>
549+ </record>
550+
551+ <record model="account.account.template" id="ri_creditos_impuestos_ganancias">
552+ <field name="type">view</field>
553+ <field name="code">1141</field>
554+ <field name="user_type" ref="account.data_account_type_view"/>
555+ <field name="name">GANANCIAS</field>
556+ <field name="parent_id" ref="ri_creditos_impuestos"/>
557+ </record>
558+
559+ <record model="account.account.template" id="ri_retencion_impuestos_ganancias">
560+ <field name="type">other</field>
561+ <field name="code">1141010</field>
562+ <field name="user_type" ref="account.data_account_type_receivable"/>
563+ <field name="name">Retención impuestos a las ganancias</field>
564+ <field name="parent_id" ref="ri_creditos_impuestos_ganancias"/>
565+ </record>
566+
567+ <record model="account.account.template" id="ri_anticipo_impuestos_ganancias">
568+ <field name="type">other</field>
569+ <field name="code">1141020</field>
570+ <field name="user_type" ref="account.data_account_type_receivable"/>
571+ <field name="name">Anticipo impuestos a las ganancias</field>
572+ <field name="parent_id" ref="ri_creditos_impuestos_ganancias"/>
573+ </record>
574+
575+ <record model="account.account.template" id="ri_creditos_impuestos_iva">
576+ <field name="type">view</field>
577+ <field name="code">1142</field>
578+ <field name="user_type" ref="account.data_account_type_view"/>
579+ <field name="name">IVA</field>
580+ <field name="parent_id" ref="ri_creditos_impuestos"/>
581+ </record>
582
583 <record model="account.account.template" id="ri_iva_credito_fiscal">
584 <field name="type">other</field>
585- <field name="code">1144003040</field>
586+ <field name="code">1142010</field>
587 <field name="user_type" ref="account.data_account_type_receivable"/>
588 <field name="name">IVA crédito fiscal</field>
589- <field name="parent_id" ref="ri_credito_iva"/>
590+ <field name="parent_id" ref="ri_creditos_impuestos_iva"/>
591+ </record>
592+
593+ <record model="account.account.template" id="ri_iva_percepcion">
594+ <field name="type">other</field>
595+ <field name="code">1142020</field>
596+ <field name="user_type" ref="account.data_account_type_receivable"/>
597+ <field name="name">Percepciones IVA</field>
598+ <field name="parent_id" ref="ri_creditos_impuestos_iva"/>
599 </record>
600
601 <record model="account.account.template" id="ri_iva_retencion">
602- <field name="type">receivable</field>
603- <field name="code">1144003099</field>
604+ <field name="type">other</field>
605+ <field name="code">1142030</field>
606 <field name="user_type" ref="account.data_account_type_receivable"/>
607 <field name="name">Retención IVA</field>
608- <field name="parent_id" ref="ri_credito_iva"/>
609+ <field name="parent_id" ref="ri_creditos_impuestos_iva"/>
610 </record>
611
612 <record model="account.account.template" id="ri_creditos_iibb">
613 <field name="type">view</field>
614- <field name="code">11440099*</field>
615+ <field name="code">1143</field>
616 <field name="user_type" ref="account.data_account_type_view"/>
617 <field name="name">INGRESOS BRUTOS</field>
618 <field name="parent_id" ref="ri_creditos_impuestos"/>
619@@ -233,23 +225,23 @@
620
621 <record model="account.account.template" id="ri_creditos_iibb_cf">
622 <field name="type">view</field>
623- <field name="code">1144009900*</field>
624+ <field name="code">114310</field>
625 <field name="user_type" ref="account.data_account_type_view"/>
626 <field name="name">INGRESOS BRUTOS CAPITAL FEDERAL</field>
627 <field name="parent_id" ref="ri_creditos_iibb"/>
628 </record>
629
630 <record model="account.account.template" id="ri_percepcion_iibb_cf">
631- <field name="type">receivable</field>
632- <field name="code">114400990010</field>
633+ <field name="type">other</field>
634+ <field name="code">1143101</field>
635 <field name="user_type" ref="account.data_account_type_receivable"/>
636 <field name="name">Percepciones ingresos brutos capital federal</field>
637 <field name="parent_id" ref="ri_creditos_iibb_cf"/>
638 </record>
639
640 <record model="account.account.template" id="ri_retencion_iibb_cf">
641- <field name="type">receivable</field>
642- <field name="code">114400990020</field>
643+ <field name="type">other</field>
644+ <field name="code">1143102</field>
645 <field name="user_type" ref="account.data_account_type_receivable"/>
646 <field name="name">Retención ingresos brutos capital federal</field>
647 <field name="parent_id" ref="ri_creditos_iibb_cf"/>
648@@ -257,15 +249,15 @@
649
650 <record model="account.account.template" id="ri_creditos_iibb_ba">
651 <field name="type">view</field>
652- <field name="code">1144009901*</field>
653+ <field name="code">114320</field>
654 <field name="user_type" ref="account.data_account_type_view"/>
655 <field name="name">INGRESOS BRUTOS PROV. BUENOS AIRES</field>
656 <field name="parent_id" ref="ri_creditos_iibb"/>
657 </record>
658
659 <record model="account.account.template" id="ri_percepcion_iibb_ba">
660- <field name="type">receivable</field>
661- <field name="code">114400990110</field>
662+ <field name="type">other</field>
663+ <field name="code">1143201</field>
664 <field name="user_type" ref="account.data_account_type_receivable"/>
665 <field name="name">Percepciones ingresos brutos p. buenos aires</field>
666 <field name="parent_id" ref="ri_creditos_iibb_ba"/>
667@@ -273,7 +265,7 @@
668
669 <record model="account.account.template" id="ri_retencion_iibb_ba">
670 <field name="type">other</field>
671- <field name="code">114400990120</field>
672+ <field name="code">1143202</field>
673 <field name="user_type" ref="account.data_account_type_receivable"/>
674 <field name="name">Retención ingresos brutos p. buenos aires</field>
675 <field name="parent_id" ref="ri_creditos_iibb_ba"/>
676@@ -281,47 +273,47 @@
677
678 <record model="account.account.template" id="ri_creditos_iibb_co">
679 <field name="type">view</field>
680- <field name="code">1144009903*</field>
681+ <field name="code">114330</field>
682 <field name="user_type" ref="account.data_account_type_view"/>
683 <field name="name">INGRESOS BRUTOS PROV. CORDOBA</field>
684 <field name="parent_id" ref="ri_creditos_iibb"/>
685 </record>
686
687 <record model="account.account.template" id="ri_percepcion_iibb_co">
688- <field name="type">receivable</field>
689- <field name="code">114400990310</field>
690+ <field name="type">other</field>
691+ <field name="code">1143301</field>
692 <field name="user_type" ref="account.data_account_type_receivable"/>
693 <field name="name">Percepciones ingresos brutos p. córdoba</field>
694 <field name="parent_id" ref="ri_creditos_iibb_co"/>
695 </record>
696
697 <record model="account.account.template" id="ri_retencion_iibb_co">
698- <field name="type">receivable</field>
699- <field name="code">114400990320</field>
700+ <field name="type">other</field>
701+ <field name="code">1143302</field>
702 <field name="user_type" ref="account.data_account_type_receivable"/>
703 <field name="name">Retención ingresos brutos p. córdoba</field>
704 <field name="parent_id" ref="ri_creditos_iibb_co"/>
705 </record>
706
707 <record model="account.account.template" id="ri_creditos_iibb_sf">
708- <field name="type">view</field>
709- <field name="code">1144009912*</field>
710+ <field name="type">other</field>
711+ <field name="code">114340</field>
712 <field name="user_type" ref="account.data_account_type_view"/>
713 <field name="name">INGRESOS BRUTOS PROV. SANTA FÉ</field>
714 <field name="parent_id" ref="ri_creditos_iibb"/>
715 </record>
716
717 <record model="account.account.template" id="ri_percepcion_iibb_sf">
718- <field name="type">receivable</field>
719- <field name="code">114400991210</field>
720+ <field name="type">other</field>
721+ <field name="code">1143401</field>
722 <field name="user_type" ref="account.data_account_type_receivable"/>
723 <field name="name">Percepciones ingresos brutos p. santa fé</field>
724 <field name="parent_id" ref="ri_creditos_iibb_sf"/>
725 </record>
726
727 <record model="account.account.template" id="ri_retencion_iibb_sf">
728- <field name="type">receivable</field>
729- <field name="code">114400991220</field>
730+ <field name="type">other</field>
731+ <field name="code">1143402</field>
732 <field name="user_type" ref="account.data_account_type_receivable"/>
733 <field name="name">Retención ingresos brutos p. santa fé</field>
734 <field name="parent_id" ref="ri_creditos_iibb_sf"/>
735@@ -329,31 +321,23 @@
736
737 <record model="account.account.template" id="ri_bienes_de_cambio">
738 <field name="type">view</field>
739- <field name="code">115*</field>
740+ <field name="code">115</field>
741 <field name="user_type" ref="account.data_account_type_view"/>
742 <field name="name">BIENES DE CAMBIO</field>
743 <field name="parent_id" ref="ri_activo_corriente"/>
744 </record>
745
746- <record model="account.account.template" id="ri_equipos">
747- <field name="type">receivable</field>
748- <field name="code">11501</field>
749- <field name="user_type" ref="account.data_account_type_receivable"/>
750- <field name="name">Equipos</field>
751- <field name="parent_id" ref="ri_bienes_de_cambio"/>
752- </record>
753-
754- <record model="account.account.template" id="ri_equipos_en_demo">
755- <field name="type">receivable</field>
756- <field name="code">11502</field>
757- <field name="user_type" ref="account.data_account_type_receivable"/>
758- <field name="name">Equipos en Demo</field>
759+ <record model="account.account.template" id="ri_mercaderia">
760+ <field name="type">other</field>
761+ <field name="code">1150010</field>
762+ <field name="user_type" ref="account.data_account_type_asset"/>
763+ <field name="name">Mercaderia</field>
764 <field name="parent_id" ref="ri_bienes_de_cambio"/>
765 </record>
766
767 <record model="account.account.template" id="ri_activo_no_corriente">
768 <field name="type">view</field>
769- <field name="code">12*</field>
770+ <field name="code">12</field>
771 <field name="user_type" ref="account.data_account_type_view"/>
772 <field name="name">ACTIVO NO CORRIENTE</field>
773 <field name="parent_id" ref="ri_activo"/>
774@@ -361,71 +345,71 @@
775
776 <record model="account.account.template" id="ri_bienes_de_uso">
777 <field name="type">view</field>
778- <field name="code">124*</field>
779+ <field name="code">121</field>
780 <field name="user_type" ref="account.data_account_type_view"/>
781 <field name="name">BIENES DE USO</field>
782 <field name="parent_id" ref="ri_activo_no_corriente"/>
783 </record>
784
785- <record model="account.account.template" id="ri_equipos_de_computacion">
786- <field name="type">other</field>
787- <field name="code">12401</field>
788+ <record model="account.account.template" id="ri_bienes_de_uso_2">
789+ <field name="type">view</field>
790+ <field name="code">1211</field>
791 <field name="user_type" ref="account.data_account_type_view"/>
792- <field name="name">Equipos computación</field>
793+ <field name="name">BIENES DE USO</field>
794 <field name="parent_id" ref="ri_bienes_de_uso"/>
795- </record>
796+ </record>
797
798- <record model="account.account.template" id="ri_software">
799+ <record model="account.account.template" id="ri_maq_y_equipos">
800 <field name="type">other</field>
801- <field name="code">12402</field>
802- <field name="user_type" ref="account.data_account_type_asset"/>
803- <field name="name">Software</field>
804- <field name="parent_id" ref="ri_bienes_de_uso"/>
805+ <field name="code">1211010</field>
806+ <field name="user_type" ref="account.data_account_type_view"/>
807+ <field name="name">Maquinarias y equipos</field>
808+ <field name="parent_id" ref="ri_bienes_de_uso_2"/>
809 </record>
810
811 <record model="account.account.template" id="ri_instalaciones">
812 <field name="type">other</field>
813- <field name="code">12403</field>
814+ <field name="code">1211020</field>
815 <field name="user_type" ref="account.data_account_type_asset"/>
816 <field name="name">Instalaciones</field>
817- <field name="parent_id" ref="ri_bienes_de_uso"/>
818+ <field name="parent_id" ref="ri_bienes_de_uso_2"/>
819 </record>
820
821 <record model="account.account.template" id="ri_muebles_y_utiles">
822 <field name="type">other</field>
823- <field name="code">12404</field>
824+ <field name="code">1211030</field>
825 <field name="user_type" ref="account.data_account_type_asset"/>
826 <field name="name">Muebles y útiles</field>
827- <field name="parent_id" ref="ri_bienes_de_uso"/>
828+ <field name="parent_id" ref="ri_bienes_de_uso_2"/>
829+ </record>
830+
831+ <record model="account.account.template" id="ri_rodados">
832+ <field name="type">other</field>
833+ <field name="code">1211040</field>
834+ <field name="user_type" ref="account.data_account_type_asset"/>
835+ <field name="name">Rodados</field>
836+ <field name="parent_id" ref="ri_bienes_de_uso_2"/>
837 </record>
838
839 <record model="account.account.template" id="ri_amortizacion_acumulada_bs_uso">
840 <field name="type">view</field>
841- <field name="code">125*</field>
842+ <field name="code">1212</field>
843 <field name="user_type" ref="account.data_account_type_view"/>
844 <field name="name">AMORTIZACIONES ACUMULADAS BIENES DE USO</field>
845- <field name="parent_id" ref="ri_activo_no_corriente"/>
846- </record>
847-
848- <record model="account.account.template" id="ri_amortizacion_acumulada_computacion">
849- <field name="type">other</field>
850- <field name="code">12501</field>
851- <field name="user_type" ref="account.data_account_type_asset"/>
852- <field name="name">Amortización acumulada equipos computación</field>
853- <field name="parent_id" ref="ri_amortizacion_acumulada_bs_uso"/>
854- </record>
855-
856- <record model="account.account.template" id="ri_amortizacion_acumulada_software">
857- <field name="type">other</field>
858- <field name="code">12502</field>
859- <field name="user_type" ref="account.data_account_type_asset"/>
860- <field name="name">Amortización acumulada software</field>
861+ <field name="parent_id" ref="ri_bienes_de_uso"/>
862+ </record>
863+
864+ <record model="account.account.template" id="ri_amortizacion_acumulada_maq_y_equipos">
865+ <field name="type">other</field>
866+ <field name="code">1212010</field>
867+ <field name="user_type" ref="account.data_account_type_asset"/>
868+ <field name="name">Amortización acumulada maquinarias y equipos</field>
869 <field name="parent_id" ref="ri_amortizacion_acumulada_bs_uso"/>
870 </record>
871
872 <record model="account.account.template" id="ri_amortizacion_acumulada_instalaciones">
873 <field name="type">other</field>
874- <field name="code">12503</field>
875+ <field name="code">1212020</field>
876 <field name="user_type" ref="account.data_account_type_asset"/>
877 <field name="name">Amortización acumulada instalaciones</field>
878 <field name="parent_id" ref="ri_amortizacion_acumulada_bs_uso"/>
879@@ -433,15 +417,47 @@
880
881 <record model="account.account.template" id="ri_amortizacion_acumulada_muebles_utiles">
882 <field name="type">other</field>
883- <field name="code">12504</field>
884+ <field name="code">1212030</field>
885 <field name="user_type" ref="account.data_account_type_asset"/>
886 <field name="name">Amortización acumulada muebles y útiles</field>
887 <field name="parent_id" ref="ri_amortizacion_acumulada_bs_uso"/>
888 </record>
889
890+ <record model="account.account.template" id="ri_amortizacion_acumulada_rodados">
891+ <field name="type">other</field>
892+ <field name="code">1212040</field>
893+ <field name="user_type" ref="account.data_account_type_asset"/>
894+ <field name="name">Amortización rodados</field>
895+ <field name="parent_id" ref="ri_amortizacion_acumulada_bs_uso"/>
896+ </record>
897+
898+ <record model="account.account.template" id="ri_intangibles">
899+ <field name="type">view</field>
900+ <field name="code">122</field>
901+ <field name="user_type" ref="account.data_account_type_view"/>
902+ <field name="name">INTANGIBLES</field>
903+ <field name="parent_id" ref="ri_activo_no_corriente"/>
904+ </record>
905+
906+ <record model="account.account.template" id="ri_software">
907+ <field name="type">other</field>
908+ <field name="code">1221010</field>
909+ <field name="user_type" ref="account.data_account_type_asset"/>
910+ <field name="name">Software</field>
911+ <field name="parent_id" ref="ri_intangibles"/>
912+ </record>
913+
914+ <record model="account.account.template" id="ri_gastos_de_construccion">
915+ <field name="type">other</field>
916+ <field name="code">1221020</field>
917+ <field name="user_type" ref="account.data_account_type_asset"/>
918+ <field name="name">Gastos de construccion</field>
919+ <field name="parent_id" ref="ri_intangibles"/>
920+ </record>
921+
922 <record model="account.account.template" id="ri_pasivo">
923 <field name="type">view</field>
924- <field name="code">2*</field>
925+ <field name="code">2</field>
926 <field name="user_type" ref="account.data_account_type_view"/>
927 <field name="name">PASIVO</field>
928 <field name="parent_id" ref="ri_a_root"/>
929@@ -449,7 +465,7 @@
930
931 <record model="account.account.template" id="ri_pasivo_corriente">
932 <field name="type">view</field>
933- <field name="code">21*</field>
934+ <field name="code">21</field>
935 <field name="user_type" ref="account.data_account_type_view"/>
936 <field name="name">PASIVO CORRIENTE</field>
937 <field name="parent_id" ref="ri_pasivo"/>
938@@ -457,7 +473,7 @@
939
940 <record model="account.account.template" id="ri_deudas_sociales">
941 <field name="type">view</field>
942- <field name="code">211*</field>
943+ <field name="code">211</field>
944 <field name="user_type" ref="account.data_account_type_view"/>
945 <field name="name">DEUDAS SOCIALES</field>
946 <field name="parent_id" ref="ri_pasivo_corriente"/>
947@@ -465,47 +481,55 @@
948
949 <record model="account.account.template" id="ri_sueldos_a_pagar">
950 <field name="type">payable</field>
951- <field name="code">21101</field>
952+ <field name="code">2110010</field>
953 <field name="user_type" ref="account.data_account_type_payable"/>
954 <field name="name">Sueldos a pagar</field>
955 <field name="parent_id" ref="ri_deudas_sociales"/>
956 </record>
957
958 <record model="account.account.template" id="ri_cargas_sociales_a_pagar">
959- <field name="type">payable</field>
960- <field name="code">21102</field>
961+ <field name="type">other</field>
962+ <field name="code">2110020</field>
963 <field name="user_type" ref="account.data_account_type_payable"/>
964 <field name="name">Cargas sociales a pagar</field>
965 <field name="parent_id" ref="ri_deudas_sociales"/>
966 </record>
967
968 <record model="account.account.template" id="ri_provision_sac_a_pagar">
969- <field name="type">payable</field>
970- <field name="code">21103</field>
971+ <field name="type">other</field>
972+ <field name="code">2110030</field>
973 <field name="user_type" ref="account.data_account_type_payable"/>
974- <field name="name">Provision SAC a pagar</field>
975+ <field name="name">Prevision SAC a pagar</field>
976 <field name="parent_id" ref="ri_deudas_sociales"/>
977 </record>
978
979 <record model="account.account.template" id="ri_provision_sac_cargas_sociales">
980+ <field name="type">other</field>
981+ <field name="code">2110040</field>
982+ <field name="user_type" ref="account.data_account_type_payable"/>
983+ <field name="name">Prevision cargas sociales a pagar</field>
984+ <field name="parent_id" ref="ri_deudas_sociales"/>
985+ </record>
986+
987+ <record model="account.account.template" id="ri_comisiones_a_pagar">
988 <field name="type">payable</field>
989- <field name="code">21104</field>
990+ <field name="code">2110050</field>
991 <field name="user_type" ref="account.data_account_type_payable"/>
992- <field name="name">Provision SAC cargas sociales a pagar</field>
993+ <field name="name">Comisiones a pagar</field>
994 <field name="parent_id" ref="ri_deudas_sociales"/>
995- </record>
996+ </record>
997
998 <record model="account.account.template" id="ri_beneficios_al_personal">
999- <field name="type">payable</field>
1000- <field name="code">21105</field>
1001+ <field name="type">other</field>
1002+ <field name="code">2110060</field>
1003 <field name="user_type" ref="account.data_account_type_payable"/>
1004 <field name="name">Beneficios al personal</field>
1005 <field name="parent_id" ref="ri_deudas_sociales"/>
1006 </record>
1007
1008 <record model="account.account.template" id="ri_prevision_despidos">
1009- <field name="type">payable</field>
1010- <field name="code">21106</field>
1011+ <field name="type">other</field>
1012+ <field name="code">2110070</field>
1013 <field name="user_type" ref="account.data_account_type_payable"/>
1014 <field name="name">Previsión Despidos</field>
1015 <field name="parent_id" ref="ri_deudas_sociales"/>
1016@@ -513,7 +537,7 @@
1017
1018 <record model="account.account.template" id="ri_deudas_fiscales">
1019 <field name="type">view</field>
1020- <field name="code">212*</field>
1021+ <field name="code">212</field>
1022 <field name="user_type" ref="account.data_account_type_view"/>
1023 <field name="name">DEUDAS FISCALES</field>
1024 <field name="parent_id" ref="ri_pasivo_corriente"/>
1025@@ -521,7 +545,7 @@
1026
1027 <record model="account.account.template" id="ri_iibb_a_pagar">
1028 <field name="type">other</field>
1029- <field name="code">21201</field>
1030+ <field name="code">2120010</field>
1031 <field name="user_type" ref="account.data_account_type_payable"/>
1032 <field name="name">Ingresos brutos a pagar</field>
1033 <field name="parent_id" ref="ri_deudas_fiscales"/>
1034@@ -529,7 +553,7 @@
1035
1036 <record model="account.account.template" id="ri_iva_debito_fiscal">
1037 <field name="type">other</field>
1038- <field name="code">21202</field>
1039+ <field name="code">2120020</field>
1040 <field name="user_type" ref="account.data_account_type_payable"/>
1041 <field name="name">IVA débito fiscal</field>
1042 <field name="parent_id" ref="ri_deudas_fiscales"/>
1043@@ -537,71 +561,184 @@
1044
1045 <record model="account.account.template" id="ri_iva_a_pagar">
1046 <field name="type">other</field>
1047- <field name="code">21203</field>
1048- <field name="user_type" ref="account.data_account_type_payable"/>
1049- <field name="name">IVA a pagar</field>
1050- <field name="parent_id" ref="ri_deudas_fiscales"/>
1051- </record>
1052-
1053- <record model="account.account.template" id="ri_retencion_ganancias_a_depositar">
1054- <field name="type">other</field>
1055- <field name="code">21204</field>
1056- <field name="user_type" ref="account.data_account_type_payable"/>
1057- <field name="name">Retención ganancias a depositar</field>
1058- <field name="parent_id" ref="ri_deudas_fiscales"/>
1059- </record>
1060-
1061- <record model="account.account.template" id="ri_provision_impuesto_a_las_ganancias">
1062- <field name="type">other</field>
1063- <field name="code">21205</field>
1064- <field name="user_type" ref="account.data_account_type_payable"/>
1065- <field name="name">Provision impuesto a las ganancias</field>
1066+ <field name="code">2120030</field>
1067+ <field name="user_type" ref="account.data_account_type_payable"/>
1068+ <field name="name">IVA saldo a pagar</field>
1069+ <field name="parent_id" ref="ri_deudas_fiscales"/>
1070+ </record>
1071+
1072+ <record model="account.account.template" id="ri_impuesto_ganancias_a_pagar">
1073+ <field name="type">other</field>
1074+ <field name="code">2120040</field>
1075+ <field name="user_type" ref="account.data_account_type_payable"/>
1076+ <field name="name">Impuesto a las ganancias a pagar</field>
1077+ <field name="parent_id" ref="ri_deudas_fiscales"/>
1078+ </record>
1079+
1080+ <record model="account.account.template" id="ri_retencion_ganancias_a_pagar">
1081+ <field name="type">other</field>
1082+ <field name="code">2120050</field>
1083+ <field name="user_type" ref="account.data_account_type_payable"/>
1084+ <field name="name">Retención ganancias a pagar</field>
1085+ <field name="parent_id" ref="ri_deudas_fiscales"/>
1086+ </record>
1087+
1088+ <record model="account.account.template" id="ri_autonomos_a_pagar">
1089+ <field name="type">other</field>
1090+ <field name="code">2120060</field>
1091+ <field name="user_type" ref="account.data_account_type_payable"/>
1092+ <field name="name">Autonomos a pagar</field>
1093+ <field name="parent_id" ref="ri_deudas_fiscales"/>
1094+ </record>
1095+
1096+ <record model="account.account.template" id="ri_retenciones_varias_a_pagar">
1097+ <field name="type">other</field>
1098+ <field name="code">2120070</field>
1099+ <field name="user_type" ref="account.data_account_type_payable"/>
1100+ <field name="name">Retenciones varias a pagar</field>
1101+ <field name="parent_id" ref="ri_deudas_fiscales"/>
1102+ </record>
1103+
1104+ <record model="account.account.template" id="ri_drei_a_pagar">
1105+ <field name="type">other</field>
1106+ <field name="code">2120080</field>
1107+ <field name="user_type" ref="account.data_account_type_payable"/>
1108+ <field name="name">DREI a pagar</field>
1109 <field name="parent_id" ref="ri_deudas_fiscales"/>
1110 </record>
1111
1112 <record model="account.account.template" id="ri_deudas_comerciales">
1113 <field name="type">view</field>
1114- <field name="code">213*</field>
1115+ <field name="code">213</field>
1116 <field name="user_type" ref="account.data_account_type_view"/>
1117 <field name="name">DEUDAS COMERCIALES</field>
1118 <field name="parent_id" ref="ri_pasivo_corriente"/>
1119 </record>
1120
1121+ <record model="account.account.template" id="ri_comunes">
1122+ <field name="type">view</field>
1123+ <field name="code">2131</field>
1124+ <field name="user_type" ref="account.data_account_type_view"/>
1125+ <field name="name">COMUNES</field>
1126+ <field name="parent_id" ref="ri_deudas_comerciales"/>
1127+ </record>
1128+
1129 <record model="account.account.template" id="ri_pago_proveedores">
1130 <field name="type">payable</field>
1131- <field name="code">21301</field>
1132+ <field name="code">2131010</field>
1133 <field name="user_type" ref="account.data_account_type_payable"/>
1134 <field name="name">Proveedores</field>
1135- <field name="parent_id" ref="ri_deudas_comerciales"/>
1136- </record>
1137-
1138- <record model="account.account.template" id="ri_anticipos_de_clientes">
1139- <field name="type">payable</field>
1140- <field name="code">21302</field>
1141- <field name="user_type" ref="account.data_account_type_payable"/>
1142- <field name="name">Anticipos de clientes</field>
1143- <field name="parent_id" ref="ri_deudas_comerciales"/>
1144+ <field name="parent_id" ref="ri_comunes"/>
1145+ <field name="reconcile" eval="True"/>
1146+ </record>
1147+
1148+ <record model="account.account.template" id="ri_alquileres_a_pagar">
1149+ <field name="type">payable</field>
1150+ <field name="code">2131020</field>
1151+ <field name="user_type" ref="account.data_account_type_payable"/>
1152+ <field name="name">Alquileres a pagar</field>
1153+ <field name="parent_id" ref="ri_comunes"/>
1154+ </record>
1155+
1156+ <record model="account.account.template" id="ri_pago_proveedores">
1157+ <field name="type">payable</field>
1158+ <field name="code">2131010</field>
1159+ <field name="user_type" ref="account.data_account_type_payable"/>
1160+ <field name="name">Acreedores varios</field>
1161+ <field name="parent_id" ref="ri_comunes"/>
1162+ </record>
1163+
1164+ <record model="account.account.template" id="ri_documentadas">
1165+ <field name="type">view</field>
1166+ <field name="code">2132</field>
1167+ <field name="user_type" ref="account.data_account_type_view"/>
1168+ <field name="name">DOCUMENTADAS</field>
1169+ <field name="parent_id" ref="ri_deudas_comerciales"/>
1170+ </record>
1171+
1172+ <record model="account.account.template" id="ri_cheques_diferidos">
1173+ <field name="type">other</field>
1174+ <field name="code">2132010</field>
1175+ <field name="user_type" ref="account.data_account_type_payable"/>
1176+ <field name="name">Cheques diferidos</field>
1177+ <field name="parent_id" ref="ri_documentadas"/>
1178+ </record>
1179+
1180+ <record model="account.account.template" id="ri_otras_deudas_documentadas">
1181+ <field name="type">other</field>
1182+ <field name="code">2132020</field>
1183+ <field name="user_type" ref="account.data_account_type_payable"/>
1184+ <field name="name">Otras deudas documentadas</field>
1185+ <field name="parent_id" ref="ri_documentadas"/>
1186+ </record>
1187+
1188+ <record model="account.account.template" id="ri_bancarias">
1189+ <field name="type">view</field>
1190+ <field name="code">214</field>
1191+ <field name="user_type" ref="account.data_account_type_view"/>
1192+ <field name="name">BANCARIAS</field>
1193+ <field name="parent_id" ref="ri_pasivo_corriente"/>
1194+ </record>
1195+
1196+ <record model="account.account.template" id="ri_tarjetas_de_credito">
1197+ <field name="type">other</field>
1198+ <field name="code">2140010</field>
1199+ <field name="user_type" ref="account.data_account_type_payable"/>
1200+ <field name="name">Tarjetas de crédito</field>
1201+ <field name="parent_id" ref="ri_bancarias"/>
1202+ </record>
1203+
1204+ <record model="account.account.template" id="ri_prestamos">
1205+ <field name="type">other</field>
1206+ <field name="code">2140020</field>
1207+ <field name="user_type" ref="account.data_account_type_payable"/>
1208+ <field name="name">Prestamos</field>
1209+ <field name="parent_id" ref="ri_bancarias"/>
1210+ </record>
1211+
1212+ <record model="account.account.template" id="ri_giro_en_descubierto">
1213+ <field name="type">other</field>
1214+ <field name="code">2140030</field>
1215+ <field name="user_type" ref="account.data_account_type_payable"/>
1216+ <field name="name">Giro en descubierto</field>
1217+ <field name="parent_id" ref="ri_bancarias"/>
1218 </record>
1219
1220 <record model="account.account.template" id="ri_provisiones_varias">
1221 <field name="type">view</field>
1222- <field name="code">214*</field>
1223+ <field name="code">215</field>
1224 <field name="user_type" ref="account.data_account_type_view"/>
1225- <field name="name">PROVISIONES VARIAS</field>
1226+ <field name="name">PREVISIONES VARIAS</field>
1227 <field name="parent_id" ref="ri_pasivo_corriente"/>
1228 </record>
1229
1230 <record model="account.account.template" id="ri_provision_gastos">
1231- <field name="type">payable</field>
1232- <field name="code">21401</field>
1233+ <field name="type">other</field>
1234+ <field name="code">2150010</field>
1235 <field name="user_type" ref="account.data_account_type_payable"/>
1236- <field name="name">Provision gastos</field>
1237+ <field name="name">Prevision gastos</field>
1238+ <field name="parent_id" ref="ri_provisiones_varias"/>
1239+ </record>
1240+
1241+ <record model="account.account.template" id="ri_cuentas_particulares">
1242+ <field name="type">view</field>
1243+ <field name="code">216</field>
1244+ <field name="user_type" ref="account.data_account_type_view"/>
1245+ <field name="name">CUENTAS PARTICULARES</field>
1246 <field name="parent_id" ref="ri_pasivo_corriente"/>
1247 </record>
1248
1249+ <record model="account.account.template" id="ri_cta_particular_socio_x">
1250+ <field name="type">other</field>
1251+ <field name="code">2160010</field>
1252+ <field name="user_type" ref="account.data_account_type_payable"/>
1253+ <field name="name">Cta particular socio x</field>
1254+ <field name="parent_id" ref="ri_cuentas_particulares"/>
1255+ </record>
1256+
1257 <record model="account.account.template" id="ri_pasivo_no_corriente">
1258 <field name="type">view</field>
1259- <field name="code">22*</field>
1260+ <field name="code">22</field>
1261 <field name="user_type" ref="account.data_account_type_view"/>
1262 <field name="name">PASIVO NO CORRIENTE</field>
1263 <field name="parent_id" ref="ri_pasivo"/>
1264@@ -609,15 +746,15 @@
1265
1266 <record model="account.account.template" id="ri_deudas_comerciales_largo_plazo">
1267 <field name="type">view</field>
1268- <field name="code">221*</field>
1269+ <field name="code">221</field>
1270 <field name="user_type" ref="account.data_account_type_view"/>
1271 <field name="name">DEUDAS COMERCIALES A LARGO PLAZO</field>
1272 <field name="parent_id" ref="ri_pasivo_no_corriente"/>
1273 </record>
1274
1275 <record model="account.account.template" id="ri_proveedores_largo_plazo">
1276- <field name="type">payable</field>
1277- <field name="code">22101</field>
1278+ <field name="type">other</field>
1279+ <field name="code">2210010</field>
1280 <field name="user_type" ref="account.data_account_type_payable"/>
1281 <field name="name">Deudas proveedores a largo plazo</field>
1282 <field name="parent_id" ref="ri_deudas_comerciales_largo_plazo"/>
1283@@ -625,15 +762,31 @@
1284
1285 <record model="account.account.template" id="ri_otras_deudas">
1286 <field name="type">view</field>
1287- <field name="code">222*</field>
1288+ <field name="code">222</field>
1289 <field name="user_type" ref="account.data_account_type_view"/>
1290 <field name="name">OTRAS DEUDAS</field>
1291 <field name="parent_id" ref="ri_pasivo_no_corriente"/>
1292 </record>
1293
1294+ <record model="account.account.template" id="ri_seguros_a_pagar">
1295+ <field name="type">other</field>
1296+ <field name="code">2220010</field>
1297+ <field name="user_type" ref="account.data_account_type_payable"/>
1298+ <field name="name">Seguros a pagar</field>
1299+ <field name="parent_id" ref="ri_otras_deudas"/>
1300+ </record>
1301+
1302+ <record model="account.account.template" id="ri_gastos_a_pagar">
1303+ <field name="type">other</field>
1304+ <field name="code">2220020</field>
1305+ <field name="user_type" ref="account.data_account_type_payable"/>
1306+ <field name="name">Gastos a pagar</field>
1307+ <field name="parent_id" ref="ri_otras_deudas"/>
1308+ </record>
1309+
1310 <record model="account.account.template" id="ri_deudas_misc">
1311- <field name="type">payable</field>
1312- <field name="code">22201</field>
1313+ <field name="type">other</field>
1314+ <field name="code">2220030</field>
1315 <field name="user_type" ref="account.data_account_type_payable"/>
1316 <field name="name">Deudas misc</field>
1317 <field name="parent_id" ref="ri_otras_deudas"/>
1318@@ -641,55 +794,135 @@
1319
1320 <record model="account.account.template" id="ri_patrimonio_neto">
1321 <field name="type">view</field>
1322- <field name="code">3*</field>
1323+ <field name="code">3</field>
1324 <field name="user_type" ref="account.data_account_type_view"/>
1325 <field name="name">PATRIMONIO NETO</field>
1326 <field name="parent_id" ref="ri_a_root"/>
1327 </record>
1328
1329+ <record model="account.account.template" id="ri_aportes_de_los_propietarios">
1330+ <field name="type">view</field>
1331+ <field name="code">31</field>
1332+ <field name="user_type" ref="account.data_account_type_view"/>
1333+ <field name="name">APORTES DE LOS PROPIETARIOS</field>
1334+ <field name="parent_id" ref="ri_patrimonio_neto"/>
1335+ </record>
1336+
1337+ <record model="account.account.template" id="ri_capital_social">
1338+ <field name="type">view</field>
1339+ <field name="code">311</field>
1340+ <field name="user_type" ref="account.data_account_type_view"/>
1341+ <field name="name">CAPITAL SOCIAL</field>
1342+ <field name="parent_id" ref="ri_aportes_de_los_propietarios"/>
1343+ </record>
1344+
1345 <record model="account.account.template" id="ri_capital">
1346 <field name="type">other</field>
1347- <field name="code">31000</field>
1348- <field name="user_type" ref="account.data_account_type_cash"/>
1349- <field name="name">Capital</field>
1350- <field name="parent_id" ref="ri_patrimonio_neto"/>
1351- </record>
1352-
1353- <record model="account.account.template" id="ri_aporte_irrevocable">
1354- <field name="type">other</field>
1355- <field name="code">32000</field>
1356- <field name="user_type" ref="account.data_account_type_cash"/>
1357- <field name="name">Aporte irrevocable </field>
1358- <field name="parent_id" ref="ri_patrimonio_neto"/>
1359- </record>
1360+ <field name="code">3110010</field>
1361+ <field name="user_type" ref="account.conf_account_type_equity"/>
1362+ <field name="name">Capital susctipto</field>
1363+ <field name="parent_id" ref="ri_capital_social"/>
1364+ </record>
1365+
1366+ <record model="account.account.template" id="ri_ajustes_de_capital">
1367+ <field name="type">view</field>
1368+ <field name="code">312</field>
1369+ <field name="user_type" ref="account.data_account_type_view"/>
1370+ <field name="name">AJUSTES DE CAPITAL</field>
1371+ <field name="parent_id" ref="ri_aportes_de_los_propietarios"/>
1372+ </record>
1373+
1374+ <record model="account.account.template" id="ri_ajustes_de_capital_2">
1375+ <field name="type">other</field>
1376+ <field name="code">3120010</field>
1377+ <field name="user_type" ref="account.conf_account_type_equity"/>
1378+ <field name="name">Capital susctipto</field>
1379+ <field name="parent_id" ref="ri_ajustes_de_capital"/>
1380+ </record>
1381+
1382+ <record model="account.account.template" id="ri_aportes_no_capitalizados">
1383+ <field name="type">view</field>
1384+ <field name="code">313</field>
1385+ <field name="user_type" ref="account.data_account_type_view"/>
1386+ <field name="name">APORTES NO CAPITALIZADOS</field>
1387+ <field name="parent_id" ref="ri_aportes_de_los_propietarios"/>
1388+ </record>
1389+
1390+ <record model="account.account.template" id="ri_aportes_no_capitalizados_2">
1391+ <field name="type">other</field>
1392+ <field name="code">3130010</field>
1393+ <field name="user_type" ref="account.conf_account_type_equity"/>
1394+ <field name="name">Aportes no capitalizados</field>
1395+ <field name="parent_id" ref="ri_aportes_no_capitalizados"/>
1396+ </record>
1397+
1398+ <record model="account.account.template" id="ri_ganancias_reservadas">
1399+ <field name="type">view</field>
1400+ <field name="code">32</field>
1401+ <field name="user_type" ref="account.data_account_type_view"/>
1402+ <field name="name">GANANCIAS RESERVADAS</field>
1403+ <field name="parent_id" ref="ri_patrimonio_neto"/>
1404+ </record>
1405
1406 <record model="account.account.template" id="ri_reserva_legal">
1407 <field name="type">other</field>
1408- <field name="code">33000</field>
1409- <field name="user_type" ref="account.data_account_type_cash"/>
1410+ <field name="code">3200010</field>
1411+ <field name="user_type" ref="account.conf_account_type_equity"/>
1412 <field name="name">Reserva legal</field>
1413+ <field name="parent_id" ref="ri_ganancias_reservadas"/>
1414+ </record>
1415+
1416+ <record model="account.account.template" id="ri_reserva_legal">
1417+ <field name="type">other</field>
1418+ <field name="code">3200020</field>
1419+ <field name="user_type" ref="account.conf_account_type_equity"/>
1420+ <field name="name">Reserva estatuitaria</field>
1421+ <field name="parent_id" ref="ri_ganancias_reservadas"/>
1422+ </record>
1423+
1424+ <record model="account.account.template" id="ri_reserva_legal">
1425+ <field name="type">other</field>
1426+ <field name="code">3200030</field>
1427+ <field name="user_type" ref="account.conf_account_type_equity"/>
1428+ <field name="name">Reserva futuras inversiones</field>
1429+ <field name="parent_id" ref="ri_ganancias_reservadas"/>
1430+ </record>
1431+
1432+ <record model="account.account.template" id="ri_resultados">
1433+ <field name="type">view</field>
1434+ <field name="code">33</field>
1435+ <field name="user_type" ref="account.data_account_type_view"/>
1436+ <field name="name">RESULTADOS</field>
1437 <field name="parent_id" ref="ri_patrimonio_neto"/>
1438+ </record>
1439+
1440+ <record model="account.account.template" id="ri_resultado_del_ejercicio">
1441+ <field name="type">other</field>
1442+ <field name="code">3300010</field>
1443+ <field name="user_type" ref="account.conf_account_type_equity"/>
1444+ <field name="name">Resultado del ejercicio</field>
1445+ <field name="parent_id" ref="ri_resultados"/>
1446+ </record>
1447+
1448+ <record model="account.account.template" id="ri_resultado_del_ejercicio">
1449+ <field name="type">other</field>
1450+ <field name="code">3300020</field>
1451+ <field name="user_type" ref="account.conf_account_type_equity"/>
1452+ <field name="name">Resultado acumlados</field>
1453+ <field name="parent_id" ref="ri_resultados"/>
1454 </record>
1455
1456 <record model="account.account.template" id="ri_resultados_no_asignados">
1457 <field name="type">other</field>
1458- <field name="code">34000</field>
1459- <field name="user_type" ref="account.data_account_type_cash"/>
1460- <field name="name">Resultados no asignados</field>
1461- <field name="parent_id" ref="ri_patrimonio_neto"/>
1462- </record>
1463-
1464- <record model="account.account.template" id="ri_resultado_del_ejercicio">
1465- <field name="type">other</field>
1466- <field name="code">35000</field>
1467- <field name="user_type" ref="account.data_account_type_cash"/>
1468- <field name="name">Resultado del ejercicio</field>
1469- <field name="parent_id" ref="ri_patrimonio_neto"/>
1470+ <field name="code">3300030</field>
1471+ <field name="user_type" ref="account.conf_account_type_equity"/>
1472+ <field name="name">Ajuste resultados ejercicios anteriores</field>
1473+ <field name="parent_id" ref="ri_resultados"/>
1474 </record>
1475
1476 <record model="account.account.template" id='ri_ingresos'>
1477 <field name="type">view</field>
1478- <field name="code">4*</field>
1479+ <field name="code">4</field>
1480 <field name="user_type" ref="account.data_account_type_view"/>
1481 <field name="name">INGRESOS</field>
1482 <field name="parent_id" ref="ri_a_root"/>
1483@@ -697,7 +930,7 @@
1484
1485 <record model="account.account.template" id="ri_ingresos_operativos">
1486 <field name="type">view</field>
1487- <field name="code">41*</field>
1488+ <field name="code">41</field>
1489 <field name="user_type" ref="account.data_account_type_view"/>
1490 <field name="name">INGRESOS OPERATIVOS</field>
1491 <field name="parent_id" ref="ri_ingresos"/>
1492@@ -705,31 +938,23 @@
1493
1494 <record model="account.account.template" id="ri_ventas">
1495 <field name="type">view</field>
1496- <field name="code">411*</field>
1497+ <field name="code">411</field>
1498 <field name="user_type" ref="account.data_account_type_view"/>
1499- <field name="name">VENTAS</field>
1500+ <field name="name">INGRESOS POR VENTAS</field>
1501 <field name="parent_id" ref="ri_ingresos_operativos"/>
1502 </record>
1503
1504- <record model="account.account.template" id="ri_ingresos_ventas">
1505- <field name="type">other</field>
1506- <field name="code">41100</field>
1507- <field name="user_type" ref="account.data_account_type_income"/>
1508- <field name="name">Ingresos por ventas</field>
1509- <field name="parent_id" ref="ri_ventas"/>
1510- </record>
1511-
1512- <record model="account.account.template" id="ri_venta_de_equipos">
1513- <field name="type">other</field>
1514- <field name="code">41101</field>
1515- <field name="user_type" ref="account.data_account_type_income"/>
1516- <field name="name">Venta de equipos</field>
1517+ <record model="account.account.template" id="ri_venta_de_mercaderia">
1518+ <field name="type">other</field>
1519+ <field name="code">4110010</field>
1520+ <field name="user_type" ref="account.data_account_type_income"/>
1521+ <field name="name">Venta de mercaderia</field>
1522 <field name="parent_id" ref="ri_ventas"/>
1523 </record>
1524
1525 <record model="account.account.template" id="ri_venta_de_servicios_misc">
1526 <field name="type">other</field>
1527- <field name="code">41102</field>
1528+ <field name="code">4110020</field>
1529 <field name="user_type" ref="account.data_account_type_income"/>
1530 <field name="name">Venta servicios misc</field>
1531 <field name="parent_id" ref="ri_ventas"/>
1532@@ -737,7 +962,7 @@
1533
1534 <record model="account.account.template" id="ri_otros_ingresos">
1535 <field name="type">view</field>
1536- <field name="code">42*</field>
1537+ <field name="code">42</field>
1538 <field name="user_type" ref="account.data_account_type_view"/>
1539 <field name="name">OTROS INGRESOS</field>
1540 <field name="parent_id" ref="ri_ingresos"/>
1541@@ -745,7 +970,7 @@
1542
1543 <record model="account.account.template" id="ri_ingresos_financieros">
1544 <field name="type">view</field>
1545- <field name="code">421*</field>
1546+ <field name="code">421</field>
1547 <field name="user_type" ref="account.data_account_type_view"/>
1548 <field name="name">INGRESOS FINANCIEROS</field>
1549 <field name="parent_id" ref="ri_otros_ingresos"/>
1550@@ -753,15 +978,71 @@
1551
1552 <record model="account.account.template" id="ri_resultado_invesiones_financieras">
1553 <field name="type">other</field>
1554- <field name="code">42110</field>
1555+ <field name="code">4210010</field>
1556 <field name="user_type" ref="account.data_account_type_income"/>
1557 <field name="name">Resultado de inversiones financieras</field>
1558 <field name="parent_id" ref="ri_ingresos_financieros"/>
1559 </record>
1560
1561+ <record model="account.account.template" id="ri_resultado_invesiones_financieras">
1562+ <field name="type">other</field>
1563+ <field name="code">4210020</field>
1564+ <field name="user_type" ref="account.data_account_type_income"/>
1565+ <field name="name">Intereses ganados</field>
1566+ <field name="parent_id" ref="ri_ingresos_financieros"/>
1567+ </record>
1568+
1569+ <record model="account.account.template" id="ri_diferencias_de_cambio">
1570+ <field name="type">other</field>
1571+ <field name="code">4210030</field>
1572+ <field name="user_type" ref="account.data_account_type_income"/>
1573+ <field name="name">Diferencias de cambio</field>
1574+ <field name="parent_id" ref="ri_ingresos_financieros"/>
1575+ </record>
1576+
1577+ <record model="account.account.template" id="ri_otros_ingresos_2">
1578+ <field name="type">view</field>
1579+ <field name="code">422</field>
1580+ <field name="user_type" ref="account.data_account_type_view"/>
1581+ <field name="name">OTROS INGRESOS</field>
1582+ <field name="parent_id" ref="ri_otros_ingresos"/>
1583+ </record>
1584+
1585+ <record model="account.account.template" id="ri_resultado_venta_bienes_de_uso">
1586+ <field name="type">other</field>
1587+ <field name="code">4220010</field>
1588+ <field name="user_type" ref="account.data_account_type_income"/>
1589+ <field name="name">Resultado venta bienes de uso</field>
1590+ <field name="parent_id" ref="ri_otros_ingresos_2"/>
1591+ </record>
1592+
1593+ <record model="account.account.template" id="ri_ajuste_por_redondeo">
1594+ <field name="type">other</field>
1595+ <field name="code">4220020</field>
1596+ <field name="user_type" ref="account.data_account_type_income"/>
1597+ <field name="name">Ajuste por redondeo</field>
1598+ <field name="parent_id" ref="ri_otros_ingresos_2"/>
1599+ </record>
1600+
1601+ <record model="account.account.template" id="ri_descuentos_obtenidos">
1602+ <field name="type">other</field>
1603+ <field name="code">4220030</field>
1604+ <field name="user_type" ref="account.data_account_type_income"/>
1605+ <field name="name">Descuentos obtenidos</field>
1606+ <field name="parent_id" ref="ri_otros_ingresos_2"/>
1607+ </record>
1608+
1609+ <record model="account.account.template" id="ri_recupero_de_gastos">
1610+ <field name="type">other</field>
1611+ <field name="code">4220040</field>
1612+ <field name="user_type" ref="account.data_account_type_income"/>
1613+ <field name="name">Recupero de gastos</field>
1614+ <field name="parent_id" ref="ri_otros_ingresos_2"/>
1615+ </record>
1616+
1617 <record model="account.account.template" id="ri_gastos">
1618 <field name="type">view</field>
1619- <field name="code">5*</field>
1620+ <field name="code">5</field>
1621 <field name="user_type" ref="account.data_account_type_view"/>
1622 <field name="name">GASTOS</field>
1623 <field name="parent_id" ref="ri_a_root"/>
1624@@ -769,7 +1050,7 @@
1625
1626 <record model="account.account.template" id="ri_gastos_operativos">
1627 <field name="type">view</field>
1628- <field name="code">51*</field>
1629+ <field name="code">51</field>
1630 <field name="user_type" ref="account.data_account_type_view"/>
1631 <field name="name">GASTOS OPERATIVOS</field>
1632 <field name="parent_id" ref="ri_gastos"/>
1633@@ -777,55 +1058,71 @@
1634
1635 <record model="account.account.template" id="ri_gastos_de_produccion">
1636 <field name="type">view</field>
1637- <field name="code">511*</field>
1638+ <field name="code">511</field>
1639 <field name="user_type" ref="account.data_account_type_view"/>
1640 <field name="name">GASTOS DE PRODUCCION</field>
1641 <field name="parent_id" ref="ri_gastos_operativos"/>
1642 </record>
1643
1644- <record model="account.account.template" id="ri_gastos_operativos_generales">
1645- <field name="type">other</field>
1646- <field name="code">51100</field>
1647- <field name="user_type" ref="account.data_account_type_expense"/>
1648- <field name="name">Gastos operativos general</field>
1649- <field name="parent_id" ref="ri_gastos_de_produccion"/>
1650- </record>
1651-
1652- <record model="account.account.template" id="ri_haberes">
1653- <field name="type">other</field>
1654- <field name="code">51101</field>
1655- <field name="user_type" ref="account.data_account_type_expense"/>
1656- <field name="name">Haberes</field>
1657- <field name="parent_id" ref="ri_gastos_de_produccion"/>
1658- </record>
1659-
1660- <record model="account.account.template" id="ri_cargas_sociales">
1661- <field name="type">other</field>
1662- <field name="code">51102</field>
1663+ <record model="account.account.template" id="ri_haberes_produccion">
1664+ <field name="type">other</field>
1665+ <field name="code">5110010</field>
1666+ <field name="user_type" ref="account.data_account_type_expense"/>
1667+ <field name="name">Sueldos y SAC operativos</field>
1668+ <field name="parent_id" ref="ri_gastos_de_produccion"/>
1669+ </record>
1670+
1671+ <record model="account.account.template" id="ri_cargas_sociales_produccion">
1672+ <field name="type">other</field>
1673+ <field name="code">5110020</field>
1674 <field name="user_type" ref="account.data_account_type_expense"/>
1675 <field name="name">Cargas Sociales</field>
1676 <field name="parent_id" ref="ri_gastos_de_produccion"/>
1677 </record>
1678
1679- <record model="account.account.template" id="ri_costo_de_equipos">
1680+ <record model="account.account.template" id="ri_costo_de_mercaderia_vendida">
1681 <field name="type">other</field>
1682- <field name="code">51103</field>
1683+ <field name="code">5110030</field>
1684 <field name="user_type" ref="account.data_account_type_expense"/>
1685- <field name="name">Costo de equipos</field>
1686+ <field name="name">Costo de mercadería vendida</field>
1687 <field name="parent_id" ref="ri_gastos_de_produccion"/>
1688 </record>
1689
1690 <record model="account.account.template" id="ri_materiales">
1691 <field name="type">other</field>
1692- <field name="code">51104</field>
1693+ <field name="code">5110040</field>
1694 <field name="user_type" ref="account.data_account_type_expense"/>
1695 <field name="name">Materiales</field>
1696 <field name="parent_id" ref="ri_gastos_de_produccion"/>
1697 </record>
1698
1699+ <record model="account.account.template" id="ri_gastos_operativos_generales">
1700+ <field name="type">other</field>
1701+ <field name="code">5110050</field>
1702+ <field name="user_type" ref="account.data_account_type_expense"/>
1703+ <field name="name">Gastos varios produccion</field>
1704+ <field name="parent_id" ref="ri_gastos_de_produccion"/>
1705+ </record>
1706+
1707+ <record model="account.account.template" id="ri_alquileres_produccion">
1708+ <field name="type">other</field>
1709+ <field name="code">5110060</field>
1710+ <field name="user_type" ref="account.data_account_type_expense"/>
1711+ <field name="name">Alquileres produccion</field>
1712+ <field name="parent_id" ref="ri_gastos_de_produccion"/>
1713+ </record>
1714+
1715+ <record model="account.account.template" id="ri_servicios_agua_luz_etc_produccion">
1716+ <field name="type">other</field>
1717+ <field name="code">5110070</field>
1718+ <field name="user_type" ref="account.data_account_type_expense"/>
1719+ <field name="name">Servicios de luz, agua, etc. produccion</field>
1720+ <field name="parent_id" ref="ri_gastos_de_produccion"/>
1721+ </record>
1722+
1723 <record model="account.account.template" id="ri_gastos_comerciales">
1724 <field name="type">view</field>
1725- <field name="code">512*</field>
1726+ <field name="code">512</field>
1727 <field name="user_type" ref="account.data_account_type_view"/>
1728 <field name="name">GASTOS COMERCIALES</field>
1729 <field name="parent_id" ref="ri_gastos_operativos"/>
1730@@ -833,15 +1130,15 @@
1731
1732 <record model="account.account.template" id="ri_haberes_comerciales">
1733 <field name="type">other</field>
1734- <field name="code">51201</field>
1735+ <field name="code">5120010</field>
1736 <field name="user_type" ref="account.data_account_type_expense"/>
1737- <field name="name">Haberes comerciales</field>
1738+ <field name="name">Sueldos y SAC comerciales</field>
1739 <field name="parent_id" ref="ri_gastos_comerciales"/>
1740 </record>
1741
1742 <record model="account.account.template" id="ri_cargas_sociales_comerciales">
1743 <field name="type">other</field>
1744- <field name="code">51202</field>
1745+ <field name="code">5120020</field>
1746 <field name="user_type" ref="account.data_account_type_expense"/>
1747 <field name="name">Cargas sociales comerciales</field>
1748 <field name="parent_id" ref="ri_gastos_comerciales"/>
1749@@ -849,7 +1146,7 @@
1750
1751 <record model="account.account.template" id="ri_comisiones_comerciales">
1752 <field name="type">other</field>
1753- <field name="code">51203</field>
1754+ <field name="code">5120030</field>
1755 <field name="user_type" ref="account.data_account_type_expense"/>
1756 <field name="name">Comisiones</field>
1757 <field name="parent_id" ref="ri_gastos_comerciales"/>
1758@@ -857,15 +1154,55 @@
1759
1760 <record model="account.account.template" id="ri_publicidad">
1761 <field name="type">other</field>
1762- <field name="code">51204</field>
1763+ <field name="code">5120040</field>
1764 <field name="user_type" ref="account.data_account_type_expense"/>
1765 <field name="name">Publicidad</field>
1766 <field name="parent_id" ref="ri_gastos_comerciales"/>
1767 </record>
1768
1769+ <record model="account.account.template" id="ri_movilidad_y_viaticos_comerciales">
1770+ <field name="type">other</field>
1771+ <field name="code">5120050</field>
1772+ <field name="user_type" ref="account.data_account_type_expense"/>
1773+ <field name="name">Movilidad y viáticos comerciales</field>
1774+ <field name="parent_id" ref="ri_gastos_comerciales"/>
1775+ </record>
1776+
1777+ <record model="account.account.template" id="ri_gastos_de_eventos_comerciales">
1778+ <field name="type">other</field>
1779+ <field name="code">5120060</field>
1780+ <field name="user_type" ref="account.data_account_type_expense"/>
1781+ <field name="name">Gastos de eventos comerciales</field>
1782+ <field name="parent_id" ref="ri_gastos_comerciales"/>
1783+ </record>
1784+
1785+ <record model="account.account.template" id="ri_gastos_varios_comerciales">
1786+ <field name="type">other</field>
1787+ <field name="code">5120070</field>
1788+ <field name="user_type" ref="account.data_account_type_expense"/>
1789+ <field name="name">Gastos varios comerciales</field>
1790+ <field name="parent_id" ref="ri_gastos_comerciales"/>
1791+ </record>
1792+
1793+ <record model="account.account.template" id="ri_alquileres_comerciales">
1794+ <field name="type">other</field>
1795+ <field name="code">5120080</field>
1796+ <field name="user_type" ref="account.data_account_type_expense"/>
1797+ <field name="name">Alquileres comerciales</field>
1798+ <field name="parent_id" ref="ri_gastos_comerciales"/>
1799+ </record>
1800+
1801+ <record model="account.account.template" id="ri_servicios_agua_luz_etc_comerciales">
1802+ <field name="type">other</field>
1803+ <field name="code">5120090</field>
1804+ <field name="user_type" ref="account.data_account_type_expense"/>
1805+ <field name="name">Servicios de luz, agua, etc. comerciales</field>
1806+ <field name="parent_id" ref="ri_gastos_comerciales"/>
1807+ </record>
1808+
1809 <record model="account.account.template" id="ri_gastos_de_administracion">
1810 <field name="type">view</field>
1811- <field name="code">513*</field>
1812+ <field name="code">513</field>
1813 <field name="user_type" ref="account.data_account_type_view"/>
1814 <field name="name">GASTOS DE ADMINISTRACION</field>
1815 <field name="parent_id" ref="ri_gastos_operativos"/>
1816@@ -873,78 +1210,87 @@
1817
1818 <record model="account.account.template" id="ri_haberes_administrativos">
1819 <field name="type">other</field>
1820- <field name="code">51301</field>
1821+ <field name="code">5130010</field>
1822 <field name="user_type" ref="account.data_account_type_expense"/>
1823- <field name="name">Haberes administrativos</field>
1824+ <field name="name">Sueldos y SAC administrativos</field>
1825 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1826 </record>
1827
1828 <record model="account.account.template" id="ri_cargas_sociales_administrativas">
1829 <field name="type">other</field>
1830- <field name="code">51302</field>
1831+ <field name="code">5130020</field>
1832 <field name="user_type" ref="account.data_account_type_expense"/>
1833 <field name="name">Cargas sociales administrativas</field>
1834 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1835 </record>
1836
1837- <record model="account.account.template" id="ri_honorarios">
1838+ <record model="account.account.template" id="ri_honorarios_administrativas">
1839 <field name="type">other</field>
1840- <field name="code">51303</field>
1841+ <field name="code">5130030</field>
1842 <field name="user_type" ref="account.data_account_type_expense"/>
1843- <field name="name">Honorarios</field>
1844+ <field name="name">Honorarios profesionales administracion</field>
1845 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1846 </record>
1847
1848- <record model="account.account.template" id="ri_alquileres">
1849- <field name="type">other</field>
1850- <field name="code">51304</field>
1851- <field name="user_type" ref="account.data_account_type_expense"/>
1852- <field name="name">Alquileres</field>
1853+ <record model="account.account.template" id="ri_gastos_varios_administrativas">
1854+ <field name="type">other</field>
1855+ <field name="code">5130040</field>
1856+ <field name="user_type" ref="account.data_account_type_expense"/>
1857+ <field name="name">Gastos varios administracion</field>
1858+ <field name="parent_id" ref="ri_gastos_de_administracion"/>
1859+ </record>
1860+
1861+ <record model="account.account.template" id="ri_alquileres_administrativas">
1862+ <field name="type">other</field>
1863+ <field name="code">5130050</field>
1864+ <field name="user_type" ref="account.data_account_type_expense"/>
1865+ <field name="name">Alquileres administracion</field>
1866 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1867 </record>
1868
1869 <record model="account.account.template" id="ri_servicios_agua_luz_etc">
1870 <field name="type">other</field>
1871- <field name="code">51305</field>
1872+ <field name="code">5130060</field>
1873 <field name="user_type" ref="account.data_account_type_expense"/>
1874- <field name="name">Servicios de luz, agua, etc</field>
1875+ <field name="name">Servicios de luz, agua, etc. administracion</field>
1876 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1877 </record>
1878
1879 <record model="account.account.template" id="ri_mantenimiento_y_limpieza">
1880 <field name="type">other</field>
1881- <field name="code">51306</field>
1882+ <field name="code">5130070</field>
1883 <field name="user_type" ref="account.data_account_type_expense"/>
1884- <field name="name">Mantenimiento y limpieza</field>
1885+ <field name="name">Mantenimiento y limpieza adminsitracion</field>
1886 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1887 </record>
1888
1889 <record model="account.account.template" id="ri_articulos_libreria">
1890 <field name="type">other</field>
1891- <field name="code">51307</field>
1892+ <field name="code">5130080</field>
1893 <field name="user_type" ref="account.data_account_type_expense"/>
1894- <field name="name">Artículos librería</field>
1895+ <field name="name">Artículos librería administracion</field>
1896+ <field name="parent_id" ref="ri_gastos_de_administracion"/>
1897 </record>
1898
1899 <record model="account.account.template" id="ri_cadeteria_y_correo">
1900 <field name="type">other</field>
1901- <field name="code">51308</field>
1902+ <field name="code">5130090</field>
1903 <field name="user_type" ref="account.data_account_type_expense"/>
1904- <field name="name">Cadetería y correo</field>
1905+ <field name="name">Cadetería y correo adminsitracion</field>
1906 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1907 </record>
1908
1909 <record model="account.account.template" id="ri_seguros">
1910 <field name="type">other</field>
1911- <field name="code">51309</field>
1912+ <field name="code">5130110</field>
1913 <field name="user_type" ref="account.data_account_type_expense"/>
1914- <field name="name">Seguros</field>
1915+ <field name="name">Seguros adminsitracion</field>
1916 <field name="parent_id" ref="ri_gastos_de_administracion"/>
1917 </record>
1918
1919 <record model="account.account.template" id="ri_gastos_fiscales">
1920 <field name="type">view</field>
1921- <field name="code">514*</field>
1922+ <field name="code">514</field>
1923 <field name="user_type" ref="account.data_account_type_view"/>
1924 <field name="name">GASTOS FISCALES</field>
1925 <field name="parent_id" ref="ri_gastos_operativos"/>
1926@@ -952,7 +1298,7 @@
1927
1928 <record model="account.account.template" id="ri_impuestos_iibb_cf">
1929 <field name="type">other</field>
1930- <field name="code">5149999</field>
1931+ <field name="code">5140010</field>
1932 <field name="user_type" ref="account.data_account_type_expense"/>
1933 <field name="name">Impuestos ingresos brutos CABA</field>
1934 <field name="parent_id" ref="ri_gastos_fiscales"/>
1935@@ -960,7 +1306,7 @@
1936
1937 <record model="account.account.template" id="ri_impuestos_iibb_ba">
1938 <field name="type">other</field>
1939- <field name="code">5142429</field>
1940+ <field name="code">5140020</field>
1941 <field name="user_type" ref="account.data_account_type_expense"/>
1942 <field name="name">Impuestos ingresos brutos Prov. Bs. As.</field>
1943 <field name="parent_id" ref="ri_gastos_fiscales"/>
1944@@ -968,7 +1314,7 @@
1945
1946 <record model="account.account.template" id="ri_impuestos_iibb_co">
1947 <field name="type">other</field>
1948- <field name="code">5142452</field>
1949+ <field name="code">5140030</field>
1950 <field name="user_type" ref="account.data_account_type_expense"/>
1951 <field name="name">Impuestos ingresos brutos Prov. Córdoba</field>
1952 <field name="parent_id" ref="ri_gastos_fiscales"/>
1953@@ -976,7 +1322,7 @@
1954
1955 <record model="account.account.template" id="ri_impuestos_iibb_sf">
1956 <field name="type">other</field>
1957- <field name="code">5149998</field>
1958+ <field name="code">5140040</field>
1959 <field name="user_type" ref="account.data_account_type_expense"/>
1960 <field name="name">Impuestos ingresos brutos Prov. Santa Fé</field>
1961 <field name="parent_id" ref="ri_gastos_fiscales"/>
1962@@ -984,7 +1330,7 @@
1963
1964 <record model="account.account.template" id="ri_impuestos_a_las_ganancias">
1965 <field name="type">other</field>
1966- <field name="code">5142424</field>
1967+ <field name="code">5140050</field>
1968 <field name="user_type" ref="account.data_account_type_expense"/>
1969 <field name="name">Impuestos a las ganancias</field>
1970 <field name="parent_id" ref="ri_gastos_fiscales"/>
1971@@ -992,22 +1338,31 @@
1972
1973 <record model="account.account.template" id="ri_impuestos_transacciones_bancarias">
1974 <field name="type">other</field>
1975- <field name="code">5149980</field>
1976- <field name="user_type" ref="account.data_account_type_expense"/>
1977- <field name="name">Impuestos transacciones bancarias</field>
1978+ <field name="code">5140060</field>
1979+ <field name="user_type" ref="account.data_account_type_expense"/>
1980+ <field name="name">Impuestos a los créditos bancarios</field>
1981+ <field name="parent_id" ref="ri_gastos_fiscales"/>
1982+ </record>
1983+
1984+ <record model="account.account.template" id="ri_impuestos_transacciones_bancarias">
1985+ <field name="type">other</field>
1986+ <field name="code">5140070</field>
1987+ <field name="user_type" ref="account.data_account_type_expense"/>
1988+ <field name="name">Impuestos a los débitos bancarios</field>
1989 <field name="parent_id" ref="ri_gastos_fiscales"/>
1990 </record>
1991
1992 <record model="account.account.template" id="ri_otros_gastos">
1993 <field name="type">view</field>
1994- <field name="code">515*</field>
1995+ <field name="code">515</field>
1996 <field name="user_type" ref="account.data_account_type_view"/>
1997 <field name="name">OTROS GASTOS </field>
1998+ <field name="parent_id" ref="ri_gastos_operativos"/>
1999 </record>
2000
2001 <record model="account.account.template" id="ri_intereses_y_recargos">
2002 <field name="type">other</field>
2003- <field name="code">51501</field>
2004+ <field name="code">5150010</field>
2005 <field name="user_type" ref="account.data_account_type_expense"/>
2006 <field name="name">Intereses y recargos</field>
2007 <field name="parent_id" ref="ri_otros_gastos"/>
2008@@ -1015,7 +1370,7 @@
2009
2010 <record model="account.account.template" id="ri_gastos_no_operativos">
2011 <field name="type">view</field>
2012- <field name="code">52*</field>
2013+ <field name="code">52</field>
2014 <field name="user_type" ref="account.data_account_type_view"/>
2015 <field name="name">GASTOS NO OPERATIVOS</field>
2016 <field name="parent_id" ref="ri_gastos"/>
2017@@ -1023,44 +1378,45 @@
2018
2019 <record model="account.account.template" id="ri_amortizaciones">
2020 <field name="type">view</field>
2021- <field name="code">521*</field>
2022+ <field name="code">521</field>
2023 <field name="user_type" ref="account.data_account_type_view"/>
2024 <field name="name">AMORTIZACIONES</field>
2025 <field name="parent_id" ref="ri_gastos_no_operativos"/>
2026 </record>
2027
2028+ <record model="account.account.template" id="ri_amortizaciones_equipos_computacion">
2029+ <field name="type">other</field>
2030+ <field name="code">5210010</field>
2031+ <field name="user_type" ref="account.data_account_type_expense"/>
2032+ <field name="name">Amortizaciones maquinaria y equipos</field>
2033+ <field name="parent_id" ref="ri_amortizaciones"/>
2034+ </record>
2035+
2036 <record model="account.account.template" id="ri_amortizaciones_instalaciones">
2037 <field name="type">other</field>
2038- <field name="code">52101</field>
2039+ <field name="code">5210020</field>
2040 <field name="user_type" ref="account.data_account_type_expense"/>
2041 <field name="name">Amortizaciones instalaciones</field>
2042 <field name="parent_id" ref="ri_amortizaciones"/>
2043 </record>
2044
2045- <record model="account.account.template" id="ri_amortizaciones_equipos_computacion">
2046- <field name="type">other</field>
2047- <field name="code">52102</field>
2048- <field name="user_type" ref="account.data_account_type_expense"/>
2049- <field name="name">Amortizaciones equipos de computación</field>
2050- <field name="parent_id" ref="ri_amortizaciones"/>
2051- </record>
2052-
2053- <record model="account.account.template" id="ri_amortizacion_software">
2054- <field name="type">other</field>
2055- <field name="code">52103</field>
2056- <field name="user_type" ref="account.data_account_type_expense"/>
2057- <field name="name">Amortizacion software</field>
2058- <field name="parent_id" ref="ri_amortizaciones"/>
2059- </record>
2060-
2061 <record model="account.account.template" id="ri_amortizacion_muebles_y_utiles">
2062 <field name="type">other</field>
2063- <field name="code">52104</field>
2064+ <field name="code">5210030</field>
2065 <field name="user_type" ref="account.data_account_type_expense"/>
2066 <field name="name">Amortizacion muebles y útiles</field>
2067 <field name="parent_id" ref="ri_amortizaciones"/>
2068 </record>
2069
2070+ <record model="account.account.template" id="ri_amortizacion_rodados">
2071+ <field name="type">other</field>
2072+ <field name="code">5210040</field>
2073+ <field name="user_type" ref="account.data_account_type_expense"/>
2074+ <field name="name">Amortizacion rodados</field>
2075+ <field name="parent_id" ref="ri_amortizaciones"/>
2076+ </record>
2077+
2078+
2079 #
2080 # Tax Code Templates
2081 #
2082@@ -1276,12 +1632,13 @@
2083 <record id="ri_l10nAR_chart_template" model="account.chart.template">
2084 <field name="name">Plan Contable Genérico de Argentina para Responsables Inscriptos</field>
2085 <field name="account_root_id" ref="ri_a_root"/>
2086+ <field name="code_digits">7</field>
2087 <field name="tax_code_root_id" ref="ri_tax_code_chart_root"/>
2088- <field name="bank_account_view_id" ref="ri_banco"/>
2089+ <field name="bank_account_view_id" ref="ri_bancos"/>
2090 <field name="property_account_receivable" ref="ri_deudores_por_ventas"/>
2091 <field name="property_account_payable" ref="ri_pago_proveedores"/>
2092- <field name="property_account_expense_categ" ref="ri_gastos_operativos_generales"/>
2093- <field name="property_account_income_categ" ref="ri_ingresos_ventas"/>
2094+ <field name="property_account_expense_categ" ref="ri_mercaderia"/>
2095+ <field name="property_account_income_categ" ref="ri_venta_de_mercaderia"/>
2096 </record>
2097
2098 #
2099
2100=== modified file 'l10n_ar_chart_generic/data/res_partner.xml'
2101--- l10n_ar_chart_generic/data/res_partner.xml 2013-10-15 22:33:53 +0000
2102+++ l10n_ar_chart_generic/data/res_partner.xml 2014-01-20 20:26:39 +0000
2103@@ -23,8 +23,9 @@
2104 <field name="is_company" eval="True"/>
2105 <field name="customer" eval="True"/>
2106 <field name="supplier" eval="True"/>
2107- <field name="property_account_receivable" ref="ri_iva_retencion"/>
2108- <field name="property_account_payable" ref="ri_iva_a_pagar"/>
2109+ <!-- Esta configuracion hace que no quede una property predeterminada de manera correcta -->
2110+<!-- <field name="property_account_receivable" ref="ri_iva_retencion"/>
2111+ <field name="property_account_payable" ref="ri_iva_a_pagar"/> -->
2112 </record>
2113 </data>
2114 </openerp>
2115
2116=== added directory 'l10n_ar_chart_generic/static'
2117=== added directory 'l10n_ar_chart_generic/static/src'
2118=== added directory 'l10n_ar_chart_generic/static/src/img'
2119=== added file 'l10n_ar_chart_generic/static/src/img/icon.png'
2120Binary files l10n_ar_chart_generic/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_ar_chart_generic/static/src/img/icon.png 2014-01-20 20:26:39 +0000 differ
2121=== added directory 'l10n_ar_debit_note'
2122=== added file 'l10n_ar_debit_note/__init__.py'
2123--- l10n_ar_debit_note/__init__.py 1970-01-01 00:00:00 +0000
2124+++ l10n_ar_debit_note/__init__.py 2014-01-20 20:26:39 +0000
2125@@ -0,0 +1,27 @@
2126+# -*- coding: utf-8 -*-
2127+##############################################################################
2128+#
2129+# OpenERP, Open Source Management Solution
2130+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2131+#
2132+# This program is free software: you can redistribute it and/or modify
2133+# it under the terms of the GNU Affero General Public License as
2134+# published by the Free Software Foundation, either version 3 of the
2135+# License, or (at your option) any later version.
2136+#
2137+# This program is distributed in the hope that it will be useful,
2138+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2139+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2140+# GNU Affero General Public License for more details.
2141+#
2142+# You should have received a copy of the GNU Affero General Public License
2143+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2144+#
2145+##############################################################################
2146+
2147+#
2148+# Insert all includes necesary for this module
2149+
2150+import account_journal
2151+
2152+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2153\ No newline at end of file
2154
2155=== added file 'l10n_ar_debit_note/__openerp__.py'
2156--- l10n_ar_debit_note/__openerp__.py 1970-01-01 00:00:00 +0000
2157+++ l10n_ar_debit_note/__openerp__.py 2014-01-20 20:26:39 +0000
2158@@ -0,0 +1,37 @@
2159+# -*- coding: utf-8 -*-
2160+##############################################################################
2161+#
2162+# OpenERP, Open Source Management Solution
2163+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2164+#
2165+# This program is free software: you can redistribute it and/or modify
2166+# it under the terms of the GNU Affero General Public License as
2167+# published by the Free Software Foundation, either version 3 of the
2168+# License, or (at your option) any later version.
2169+#
2170+# This program is distributed in the hope that it will be useful,
2171+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2172+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2173+# GNU Affero General Public License for more details.
2174+#
2175+# You should have received a copy of the GNU Affero General Public License
2176+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2177+#
2178+##############################################################################
2179+{ 'active': False,
2180+ 'author': 'Sistemas ADHOC',
2181+ 'category': 'Accounting & Finance',
2182+ 'demo_xml': [],
2183+ 'depends': ['account_voucher'],
2184+ 'description': 'Extends Account Journal and adds a field on Sale and Purchase journals to indicate if they are a Debit Note Journal. It also adds filters on search of invoices',
2185+ 'init_xml': [],
2186+ 'installable': True,
2187+ 'name': 'Account Journal Debit Notes',
2188+ 'test': [],
2189+ 'update_xml': [
2190+ 'account_journal_view.xml',
2191+ 'account_invoice_view.xml',
2192+ ],
2193+ 'version': '0.0',
2194+ 'website': 'http://www.sistemasadhoc.com.ar/'}
2195+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2196\ No newline at end of file
2197
2198=== added file 'l10n_ar_debit_note/account_invoice_view.xml'
2199--- l10n_ar_debit_note/account_invoice_view.xml 1970-01-01 00:00:00 +0000
2200+++ l10n_ar_debit_note/account_invoice_view.xml 2014-01-20 20:26:39 +0000
2201@@ -0,0 +1,21 @@
2202+<?xml version="1.0" encoding="utf-8"?>
2203+<openerp>
2204+ <data>
2205+
2206+ <!-- Invoices -->
2207+ <record id="view_account_invoice_filter" model="ir.ui.view">
2208+ <field name="name">account.invoice.select</field>
2209+ <field name="model">account.invoice</field>
2210+ <field name="inherit_id" ref="account.view_account_invoice_filter"/>
2211+ <field name="arch" type="xml">
2212+ <field name="period_id" position="after">
2213+ <separator/>
2214+ <filter domain="[('journal_id.is_debit_note','=',False)]" help="Invoices"/>
2215+ <filter domain="[('journal_id.is_debit_note','=',True)]" help="Debit Notes"/>
2216+ </field>
2217+ </field>
2218+ </record>
2219+
2220+
2221+ </data>
2222+</openerp>
2223
2224=== added file 'l10n_ar_debit_note/account_journal.py'
2225--- l10n_ar_debit_note/account_journal.py 1970-01-01 00:00:00 +0000
2226+++ l10n_ar_debit_note/account_journal.py 2014-01-20 20:26:39 +0000
2227@@ -0,0 +1,39 @@
2228+# -*- coding: utf-8 -*-
2229+##############################################################################
2230+#
2231+# OpenERP, Open Source Management Solution
2232+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2233+#
2234+# This program is free software: you can redistribute it and/or modify
2235+# it under the terms of the GNU Affero General Public License as
2236+# published by the Free Software Foundation, either version 3 of the
2237+# License, or (at your option) any later version.
2238+#
2239+# This program is distributed in the hope that it will be useful,
2240+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2241+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2242+# GNU Affero General Public License for more details.
2243+#
2244+# You should have received a copy of the GNU Affero General Public License
2245+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2246+#
2247+##############################################################################
2248+
2249+import logging
2250+
2251+from openerp import SUPERUSER_ID
2252+from openerp.osv import fields, osv
2253+from openerp.tools.translate import _
2254+
2255+_logger = logging.getLogger(__name__)
2256+
2257+
2258+class account_journal(osv.osv):
2259+ _name = "account.journal"
2260+ _inherit = "account.journal"
2261+ _columns = {
2262+ 'is_debit_note': fields.boolean('Is Debit Note?',),
2263+ }
2264+
2265+
2266+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2267
2268=== added file 'l10n_ar_debit_note/account_journal_view.xml'
2269--- l10n_ar_debit_note/account_journal_view.xml 1970-01-01 00:00:00 +0000
2270+++ l10n_ar_debit_note/account_journal_view.xml 2014-01-20 20:26:39 +0000
2271@@ -0,0 +1,20 @@
2272+<?xml version="1.0" encoding="utf-8"?>
2273+<openerp>
2274+ <data>
2275+
2276+
2277+ <!-- Account Journal -->
2278+
2279+ <record id="view_account_journal_form" model="ir.ui.view">
2280+ <field name="name">account.journal.form</field>
2281+ <field name="model">account.journal</field>
2282+ <field name="inherit_id" ref="account.view_account_journal_form"/>
2283+ <field name="arch" type="xml">
2284+ <field name="type" position="after">
2285+ <field name="is_debit_note" attrs="{'invisible':[('type','not in', ('sale', 'purchase'))]}"/>
2286+ </field>
2287+ </field>
2288+ </record>
2289+
2290+ </data>
2291+</openerp>
2292
2293=== added directory 'l10n_ar_debit_note/i18n'
2294=== modified file 'l10n_ar_invoice/__openerp__.py'
2295--- l10n_ar_invoice/__openerp__.py 2014-01-09 15:19:22 +0000
2296+++ l10n_ar_invoice/__openerp__.py 2014-01-20 20:26:39 +0000
2297@@ -24,9 +24,11 @@
2298 'demo_xml': [],
2299 'depends': [ 'base_setup',
2300 'account_voucher',
2301+ 'l10n_ar_debit_note',
2302 'l10n_ar_base_vat',
2303 'l10n_ar_chart_generic',
2304- 'l10n_ar_states'],
2305+ 'l10n_ar_states'
2306+ ],
2307 'description': '\n\nM\xc3\xb3dulo de Facturaci\xc3\xb3n de la localizaci\xc3\xb3n Argentina\n\n\n\nIncluye:\n\n\n\n - Configuraci\xc3\xb3n de libros, diarios y otros detalles para facturaci\xc3\xb3n argentina.\n\n - Wizard para configurar los talonarios necesarios para facturar.\n\n\n\nFalta:\n\n - Terminar de completar la lista de codigos del AFIP de monedas (http://www.afip.gob.ar/fe/documentos/TABLA%20MONEDAS%20V.0%20%2025082010.xls)\n\n',
2308 'init_xml': [],
2309 'installable': True,
2310@@ -48,7 +50,8 @@
2311 'data/document_type.xml',
2312 'data/partner.xml',
2313 'data/invoice_workflow.xml',
2314- 'data/reports.xml',
2315+ # Disable reports
2316+ # 'data/reports.xml',
2317 'data/country.xml',
2318 'data/res.currency.csv',
2319 'data/afip.journal_template.csv',
2320
2321=== modified file 'l10n_ar_invoice/config.py'
2322--- l10n_ar_invoice/config.py 2014-01-09 15:19:22 +0000
2323+++ l10n_ar_invoice/config.py 2014-01-20 20:26:39 +0000
2324@@ -241,7 +241,8 @@
2325 currency_id = obj_company.browse(cr, uid, company_id).currency_id.id
2326
2327 cr.execute("""
2328- select row_number() over () as row,
2329+ (select
2330+ JC.id as row,
2331 Ri.name as Ri,
2332 Dc.name as document_class,
2333 JC.name as name,
2334@@ -254,17 +255,37 @@
2335 left join afip_responsability as Rr on (RC.receptor_id = Rr.id)
2336 left join afip_document_class as DC on (RC.document_class_id = DC.id)
2337 left join afip_journal_class as JC on (RC.document_class_id = JC.document_class_id)
2338- where Ri.id = %s
2339+ where Ri.id = %s and (type = 'sale' or type = 'sale_refund')
2340 and Ri.name is not Null
2341 and Dc.name is not Null
2342 and JC.name is not Null
2343- group by Ri.name, JC.name, JC.type, DC.name, DC.id order by name
2344+ group by JC.id, Ri.name, JC.name, JC.type, DC.name, DC.id order by name)
2345+ union
2346+ (select
2347+ JC.id as row,
2348+ Rr.name as Ri,
2349+ Dc.name as document_class,
2350+ JC.name as name,
2351+ max(JC.code) as code,
2352+ JC.type as type,
2353+ DC.id as document_class_id,
2354+ max(JC.id) as journal_class_id
2355+ from afip_responsability_relation as RC
2356+ left join afip_responsability as Ri on (RC.issuer_id = Ri.id)
2357+ left join afip_responsability as Rr on (RC.receptor_id = Rr.id)
2358+ left join afip_document_class as DC on (RC.document_class_id = DC.id)
2359+ left join afip_journal_class as JC on (RC.document_class_id = JC.document_class_id)
2360+ where Rr.id = %s and (type = 'purchase' or type = 'purchase_refund')
2361+ and Rr.name is not Null
2362+ and Dc.name is not Null
2363+ and JC.name is not Null
2364+ group by JC.id, Rr.name, JC.name, JC.type, DC.name, DC.id order by type)
2365 """,
2366- (responsability_id,))
2367+ (responsability_id,responsability_id,))
2368
2369 fetch_items = list(cr.fetchall())
2370 items = [ dict(zip([c.name for c in cr.description], item)) for item in fetch_items ]
2371-
2372+ print items
2373 if not do_export:
2374 items = [ i for i in items if i['code'] not in ['FVE', 'FCE', 'DVE', 'DCE', 'CVE', 'CCE'] ]
2375
2376
2377=== modified file 'l10n_ar_invoice/invoice.py'
2378--- l10n_ar_invoice/invoice.py 2013-12-05 21:01:41 +0000
2379+++ l10n_ar_invoice/invoice.py 2014-01-20 20:26:39 +0000
2380@@ -97,40 +97,22 @@
2381 _inherit = "account.invoice"
2382
2383 def afip_validation(self, cr, uid, ids, context={}):
2384- obj_resp_class = self.pool.get('afip.responsability_relation')
2385
2386 for invoice in self.browse(cr, uid, ids):
2387- # If parter is not in Argentina, ignore it.
2388- if invoice.partner_id.country_id.name != 'Argentina':
2389- continue
2390-
2391- # Partner responsability ?
2392- if isinstance(invoice.partner_id.responsability_id, orm.browse_null):
2393- raise osv.except_osv(_('No responsability'),
2394- _('Your partner have not afip responsability assigned. Assign one please.'))
2395-
2396- # Take responsability classes for this journal
2397- invoice_class = invoice.journal_id.journal_class_id.document_class_id
2398- resp_class_ids = obj_resp_class.search(cr, uid, [('document_class_id','=', invoice_class.id)])
2399-
2400- # You can emmit this document?
2401- resp_class = [ rc.issuer_id.code for rc in obj_resp_class.browse(cr, uid, resp_class_ids) ]
2402- if invoice.journal_id.company_id.partner_id.responsability_id.code not in resp_class:
2403- raise osv.except_osv(_('Invalid emisor'),
2404- _('Your responsability with AFIP dont let you generate this kind of document.'))
2405-
2406- # Partner can receive this document?
2407- resp_class = [ rc.receptor_id.code for rc in obj_resp_class.browse(cr, uid, resp_class_ids) ]
2408- if False and invoice.partner_id.responsability_id.code not in resp_class:
2409- raise osv.except_osv(_('Invalid receptor'),
2410- _('Your partner cant recive this document. Check AFIP responsability of the partner, or Journal Account of the invoice.'))
2411-
2412- # If Final Consumer have pay more than 1000$, you need more information to generate document.
2413- if invoice.partner_id.responsability_id.code == 'CF' and invoice.amount_total > 1000 and \
2414- (invoice.partner_id.document_type.code in [ None, 'Sigd' ] or invoice.partner_id.document_number is None):
2415- raise osv.except_osv(_('Partner without Identification for total invoices > $1000.-'),
2416- _('You must define valid document type and number for this Final Consumer.'))
2417- return True
2418+ if invoice.type == 'in_invoice':
2419+ journal_type = 'purchase'
2420+ elif invoice.type == 'in_refund':
2421+ journal_type = 'purchase_refund'
2422+ elif invoice.type == 'out_invoice':
2423+ journal_type = 'sale'
2424+ elif invoice.type == 'out_refund':
2425+ journal_type = 'sale_refund'
2426+
2427+ journal_ids = self.get_valid_journals(cr, uid, invoice.partner_id.id, journal_type, company_id=invoice.company_id.id)
2428+
2429+ if invoice.journal_id.id not in journal_ids:
2430+ raise osv.except_osv(_('Invalid Journal'),
2431+ _('Invalid journal selection for actual partner and company.'))
2432
2433 def compute_all(self, cr, uid, ids, line_filter=lambda line: True, tax_filter=lambda tax: True, context=None):
2434 res = {}
2435@@ -156,79 +138,129 @@
2436
2437 def onchange_partner_id(self, cr, uid, ids, type, partner_id,
2438 date_invoice=False, payment_term=False,
2439- partner_bank_id=False, company_id=False):
2440+ partner_bank_id=False, company_id=False, context=None):
2441 result = super(account_invoice,self).onchange_partner_id(cr, uid, ids,
2442 type, partner_id, date_invoice, payment_term,
2443- partner_bank_id, company_id)
2444+ partner_bank_id, company_id,)
2445+
2446+
2447+ if type == 'in_invoice':
2448+ journal_type = 'purchase'
2449+ elif type == 'in_refund':
2450+ journal_type = 'purchase_refund'
2451+ elif type == 'out_invoice':
2452+ journal_type = 'sale'
2453+ elif type == 'out_refund':
2454+ journal_type = 'sale_refund'
2455
2456+ journal_id = False
2457+ journal_ids = False
2458+ normal_journal_ids = False
2459+
2460 if company_id and partner_id:
2461- # Set list of valid journals by partner responsability
2462- partner_obj = self.pool.get('res.partner')
2463- company_obj = self.pool.get('res.company')
2464- partner = partner_obj.browse(cr, uid, partner_id)
2465- company = company_obj.browse(cr, uid, company_id)
2466- responsability = partner.responsability_id
2467- if responsability.issuer_relation_ids is None:
2468- return result
2469-
2470- document_class_set = set([ i.document_class_id.id for i in responsability.issuer_relation_ids ])
2471-
2472- type_map = {
2473- 'out_invoice': ['sale'],
2474- 'out_refund': ['sale_refund'],
2475- 'in_invoice': ['purchase'],
2476- 'in_refund': ['purchase_refund'],
2477- }
2478-
2479- if not company.partner_id:
2480- result['warning']={'title': _('Your company has not setted any partner'),
2481- 'message': _('That\'s is really strange. You must have a partner associated to your company.')}
2482- _logger.warning('Your company "%s" has not setted any partner.' % company.name)
2483- return result
2484-
2485- if not company.partner_id.responsability_id.id:
2486- result['warning']={'title': _('Your company has not setted any responsability'),
2487- 'message': _('Please, set your company responsability in the company partner before continue.')}
2488- _logger.warning('Your company "%s" has not setted any responsability.' % company.name)
2489- return result
2490-
2491- cr.execute("""
2492- SELECT DISTINCT J.id, J.name, IRSEQ.number_next
2493- FROM account_journal J
2494- LEFT join ir_sequence IRSEQ on (J.sequence_id = IRSEQ.id)
2495- LEFT join afip_journal_class JC on (J.journal_class_id = JC.id)
2496- LEFT join afip_document_class DC on (JC.document_class_id = DC.id)
2497- LEFT join afip_responsability_relation RR on (DC.id = RR.document_class_id)
2498- WHERE
2499- (RR.id is Null OR (RR.id is not Null AND RR.issuer_id = %s AND RR.receptor_id = %s)) AND
2500- J.type in %s AND
2501- J.id is not NULL AND
2502- J.sequence_id is not NULL
2503- AND IRSEQ.number_next is not NULL
2504- ORDER BY IRSEQ.number_next DESC;
2505- """, (company.partner_id.responsability_id.id, partner.responsability_id.id, tuple(type_map[type])))
2506- accepted_journal_ids = [ x[0] for x in cr.fetchall() ]
2507-
2508- if 'domain' not in result: result['domain'] = {}
2509- if 'value' not in result: result['value'] = {}
2510-
2511- if accepted_journal_ids:
2512- result['domain'].update({
2513- 'journal_id': [('id','in', accepted_journal_ids)],
2514- })
2515- #result['value'].update({
2516- # 'journal_id': accepted_journal_ids[0],
2517- #})
2518- else:
2519- result['domain'].update({
2520- 'journal_id': [('id','in',[])],
2521- })
2522- #result['value'].update({
2523- # 'journal_id': False,
2524- #})
2525-
2526+ normal_journal_ids = self.get_valid_journals(cr, uid, partner_id, journal_type, is_debit_note=False, company_id=company_id)
2527+ journal_ids = self.get_valid_journals(cr, uid, partner_id, journal_type, company_id=company_id)
2528+
2529+ if normal_journal_ids:
2530+ journal_id = normal_journal_ids[0]
2531+
2532+ if 'value' not in result: result['value'] = {}
2533+ result['value'].update({
2534+ 'journal_id': journal_id,
2535+ })
2536+
2537+ if 'domain' not in result: result['domain'] = {}
2538+ result['domain'].update({
2539+ 'journal_id': [('id', 'in', journal_ids)],
2540+ })
2541 return result
2542
2543+ def get_valid_journals(self, cr, uid, partner_id, journal_type, is_debit_note=None, company_id=False, context=None):
2544+ # Type could be purchase or sale
2545+ journal_obj = self.pool.get('account.journal')
2546+ resp_relation_obj = self.pool.get('afip.responsability_relation')
2547+ responsability_obj = self.pool.get('afip.responsability')
2548+ user = self.pool.get('res.users').browse(cr, uid, uid, context=context)
2549+ partner = self.pool.get('res.partner').browse(cr, uid, partner_id, context=context)
2550+
2551+ if context is None:
2552+ context = {}
2553+ if company_id == False:
2554+ company_id = context.get('company_id', user.company_id.id)
2555+ company = self.pool.get('res.company').browse(cr, uid, company_id, context)
2556+
2557+ if not company.partner_id.responsability_id.id:
2558+ raise orm.except_orm(_('Your company has not setted any responsability'),
2559+ _('Please, set your company responsability in the company partner before continue.'))
2560+ _logger.warning('Your company "%s" has not setted any responsability.' % company.name)
2561+
2562+ if journal_type in ['sale','sale_refund']:
2563+ issuer_responsability_id = company.partner_id.responsability_id.id
2564+ receptor_responsability_id = partner.responsability_id.id
2565+ elif journal_type in ['purchase','purchase_refund']:
2566+ issuer_responsability_id = partner.responsability_id.id
2567+ receptor_responsability_id = company.partner_id.responsability_id.id
2568+ else:
2569+ raise orm.except_orm(_('Journal Type Error'),
2570+ _('Journal Type Not defined)'))
2571+
2572+ document_class_ids = []
2573+ journal_ids = []
2574+ journal_filter = []
2575+ journal_filter.append(('company_id','=',company_id))
2576+
2577+ if journal_type:
2578+ journal_filter.append(('type','=',journal_type))
2579+ if is_debit_note != None:
2580+ journal_filter.append(('is_debit_note','=',is_debit_note))
2581+
2582+ resp_relation_ids = resp_relation_obj.search(cr, uid, [('issuer_id', '=', issuer_responsability_id),('receptor_id', '=', receptor_responsability_id)], context=context)
2583+
2584+ for resp_relation in resp_relation_obj.browse(cr, uid, resp_relation_ids, context):
2585+ if resp_relation.document_class_id not in document_class_ids:
2586+ document_class_ids.append(resp_relation.document_class_id.id)
2587+ journal_filter.append(('journal_class_id.document_class_id','in',document_class_ids))
2588+ journal_ids = journal_obj.search(cr, uid, journal_filter, context)
2589+ return journal_ids
2590+
2591+
2592+ def onchange_company_id(self, cr, uid, ids, company_id, part_id, type, invoice_line, currency_id):
2593+ result = super(account_invoice,self).onchange_partner_id(cr, uid, ids,
2594+ company_id, part_id, type, invoice_line, currency_id)
2595+ partner_id = part_id
2596+
2597+ if type == 'in_invoice':
2598+ journal_type = 'purchase'
2599+ elif type == 'in_refund':
2600+ journal_type = 'purchase_refund'
2601+ elif type == 'out_invoice':
2602+ journal_type = 'sale'
2603+ elif type == 'out_refund':
2604+ journal_type = 'sale_refund'
2605+
2606+ journal_id = False
2607+ journal_ids = False
2608+ normal_journal_ids = False
2609+
2610+ if company_id and partner_id:
2611+ normal_journal_ids = self.get_valid_journals(cr, uid, partner_id, journal_type, is_debit_note=False, company_id=company_id)
2612+ journal_ids = self.get_valid_journals(cr, uid, partner_id, journal_type, company_id=company_id)
2613+
2614+ if normal_journal_ids:
2615+ journal_id = normal_journal_ids[0]
2616+
2617+ if 'value' not in result: result['value'] = {}
2618+ result['value'].update({
2619+ 'journal_id': journal_id,
2620+ })
2621+
2622+ if 'domain' not in result: result['domain'] = {}
2623+ result['domain'].update({
2624+ 'journal_id': [('id', 'in', journal_ids)],
2625+ })
2626+
2627+ return result
2628+
2629 account_invoice()
2630
2631 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2632
2633=== modified file 'l10n_ar_invoice/report/__init__.py'
2634--- l10n_ar_invoice/report/__init__.py 2014-01-09 15:19:22 +0000
2635+++ l10n_ar_invoice/report/__init__.py 2014-01-20 20:26:39 +0000
2636@@ -19,6 +19,6 @@
2637 #
2638 ##############################################################################
2639
2640-import invoice
2641+# import invoice
2642
2643 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2644
2645=== modified file 'l10n_ar_invoice/security/ir.model.access.csv'
2646--- l10n_ar_invoice/security/ir.model.access.csv 2014-01-09 15:19:22 +0000
2647+++ l10n_ar_invoice/security/ir.model.access.csv 2014-01-20 20:26:39 +0000
2648@@ -1,17 +1,17 @@
2649-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
2650-"access_afip_responsability_manager","afip.responsability.manager","model_afip_responsability","group_l10n_ar_invoice_admin",1,1,1,1
2651-"access_afip_responsability_user","afip.responsability.user","model_afip_responsability","group_l10n_ar_invoice_user",1,0,0,0
2652-"access_afip_responsability_relation_manager","afip.responsability_relation.manager","model_afip_responsability_relation","group_l10n_ar_invoice_admin",1,1,1,1
2653-"access_afip_responsability_relation_user","afip.responsability_relation.user","model_afip_responsability_relation","group_l10n_ar_invoice_user",1,0,0,0
2654-"access_afip_journal_class_manager","afip.journal_class.manager","model_afip_journal_class","group_l10n_ar_invoice_admin",1,1,1,1
2655-"access_afip_journal_class_user","afip.journal_class.user","model_afip_journal_class","group_l10n_ar_invoice_user",1,0,0,0
2656-"access_afip_document_type_manager","afip.document_type.manager","model_afip_document_type","group_l10n_ar_invoice_admin",1,1,1,1
2657-"access_afip_document_type_user","afip.document_type.user","model_afip_document_type","group_l10n_ar_invoice_user",1,0,0,0
2658-"access_afip_concept_type_manager","afip.concept_type.manager","model_afip_concept_type","group_l10n_ar_invoice_admin",1,1,1,1
2659-"access_afip_concept_type_user","afip.concept_type.user","model_afip_concept_type","group_l10n_ar_invoice_user",1,0,0,0
2660-"access_afip_document_class_manager","afip.document_class.manager","model_afip_document_class","group_l10n_ar_invoice_admin",1,1,1,1
2661-"access_afip_document_class_user","afip.document_class.user","model_afip_document_class","group_l10n_ar_invoice_user",1,0,0,0
2662-"access_afip_journal_template_manager","afip.journal_template.manager","model_afip_journal_template","group_l10n_ar_invoice_admin",1,1,1,1
2663-"access_afip_journal_template_user","afip.journal_template.user","model_afip_journal_template","group_l10n_ar_invoice_user",1,0,0,0
2664-"access_afip_optional_type_manager","afip.optional_type.manager","model_afip_optional_type","group_l10n_ar_invoice_admin",1,1,1,1
2665-"access_afip_optional_type_user","afip.optional_type.user","model_afip_optional_type","group_l10n_ar_invoice_user",1,0,0,0
2666+id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2667+access_afip_responsability_manager,afip.responsability.manager,model_afip_responsability,account.group_account_manager,1,1,1,1
2668+access_afip_responsability_user,afip.responsability.user,model_afip_responsability,,1,0,0,0
2669+access_afip_responsability_relation_manager,afip.responsability_relation.manager,model_afip_responsability_relation,account.group_account_manager,1,1,1,1
2670+access_afip_responsability_relation_user,afip.responsability_relation.user,model_afip_responsability_relation,,1,0,0,0
2671+access_afip_journal_class_manager,afip.journal_class.manager,model_afip_journal_class,account.group_account_manager,1,1,1,1
2672+access_afip_journal_class_user,afip.journal_class.user,model_afip_journal_class,,1,0,0,0
2673+access_afip_document_type_manager,afip.document_type.manager,model_afip_document_type,account.group_account_manager,1,1,1,1
2674+access_afip_document_type_user,afip.document_type.user,model_afip_document_type,,1,0,0,0
2675+access_afip_concept_type_manager,afip.concept_type.manager,model_afip_concept_type,account.group_account_manager,1,1,1,1
2676+access_afip_concept_type_user,afip.concept_type.user,model_afip_concept_type,,1,0,0,0
2677+access_afip_document_class_manager,afip.document_class.manager,model_afip_document_class,account.group_account_manager,1,1,1,1
2678+access_afip_document_class_user,afip.document_class.user,model_afip_document_class,,1,0,0,0
2679+access_afip_journal_template_manager,afip.journal_template.manager,model_afip_journal_template,account.group_account_manager,1,1,1,1
2680+access_afip_journal_template_user,afip.journal_template.user,model_afip_journal_template,,1,0,0,0
2681+access_afip_optional_type_manager,afip.optional_type.manager,model_afip_optional_type,account.group_account_manager,1,1,1,1
2682+access_afip_optional_type_user,afip.optional_type.user,model_afip_optional_type,,1,0,0,0
2683
2684=== modified file 'l10n_ar_invoice/security/l10n_ar_invoice_security.xml'
2685--- l10n_ar_invoice/security/l10n_ar_invoice_security.xml 2014-01-09 15:19:22 +0000
2686+++ l10n_ar_invoice/security/l10n_ar_invoice_security.xml 2014-01-20 20:26:39 +0000
2687@@ -1,17 +1,6 @@
2688 <?xml version="1.0" encoding="utf-8"?>
2689 <openerp>
2690 <data>
2691- <record id="group_l10n_ar_invoice_user" model="res.groups" context="{'noadmin':True}">
2692- <field name="name">Argentine Invoice User</field>
2693- <field name="category_id" ref="base.module_category_accounting_and_finance"/>
2694- <field name="implied_ids" eval="[(4, ref('account.group_account_invoice'))]"/>
2695- </record>
2696-
2697- <record id="group_l10n_ar_invoice_admin" model="res.groups">
2698- <field name="name">Argentine Invoice Manager</field>
2699- <field name="category_id" ref="base.module_category_accounting_and_finance"/>
2700- <field name="implied_ids" eval="[(4,ref('base.group_user'))]"/>
2701- </record>
2702
2703 </data>
2704 </openerp>
2705
2706=== modified file 'l10n_ar_invoice/view/afip_menuitem.xml'
2707--- l10n_ar_invoice/view/afip_menuitem.xml 2014-01-09 15:19:22 +0000
2708+++ l10n_ar_invoice/view/afip_menuitem.xml 2014-01-20 20:26:39 +0000
2709@@ -23,7 +23,7 @@
2710 <openerp>
2711 <data>
2712
2713- <menuitem id="menu_afip_config" name="AFIP Configuration" parent="base.menu_config" sequence="30"/>
2714+ <menuitem id="menu_afip_config" name="AFIP Configuration" parent="account.menu_finance_configuration" sequence="25"/>
2715
2716 </data>
2717 </openerp>
2718
2719=== modified file 'l10n_ar_invoice/view/invoice_view.xml'
2720--- l10n_ar_invoice/view/invoice_view.xml 2013-09-30 15:07:23 +0000
2721+++ l10n_ar_invoice/view/invoice_view.xml 2014-01-20 20:26:39 +0000
2722@@ -29,8 +29,21 @@
2723 <field name="inherit_id" ref="account.invoice_form"/>
2724 <field name="arch" type="xml">
2725 <data>
2726- <field name="journal_id" position="replace">
2727- <field name="journal_id" groups="account.group_account_user" on_change="onchange_journal_id(journal_id, context)" widget="many2one"/>
2728+ <field name="journal_id" position="attributes">
2729+ <attribute name="widget">many2one</attribute>
2730+ </field>
2731+ </data>
2732+ </field>
2733+ </record>
2734+
2735+ <record id="view_supplier_invoice_form" model="ir.ui.view">
2736+ <field name="name">l10n_ar.invoice.form</field>
2737+ <field name="model">account.invoice</field>
2738+ <field name="inherit_id" ref="account.invoice_supplier_form"/>
2739+ <field name="arch" type="xml">
2740+ <data>
2741+ <field name="journal_id" position="attributes">
2742+ <attribute name="widget">many2one</attribute>
2743 </field>
2744 </data>
2745 </field>
2746
2747=== modified file 'l10n_ar_invoice/view/partner_view.xml'
2748--- l10n_ar_invoice/view/partner_view.xml 2014-01-09 15:19:22 +0000
2749+++ l10n_ar_invoice/view/partner_view.xml 2014-01-20 20:26:39 +0000
2750@@ -29,20 +29,14 @@
2751 <field name="inherit_id" ref="base.view_partner_form"/>
2752 <field name="arch" type="xml">
2753 <data>
2754- <field name="parent_id" position="before">
2755- <group col="2">
2756- <label for="document_type_id" colspan="1" class="oe_edit_only"/>
2757- <label for="document_number" colspan="1" class="oe_edit_only"/>
2758- <field name="document_type_id" nolabel="1" colspan="1"
2759- on_change="onchange_document(vat,document_type_id,document_number)"/>
2760- <field name="document_number" nolabel="1" colspan="1"
2761- on_change="onchange_document(vat,document_type_id,document_number)"/>
2762- </group>
2763- </field>
2764 <field name="property_account_position" position="before">
2765 <field name="responsability_id" widget="selection"/>
2766 <field name="iibb"/>
2767 <field name="start_date"/>
2768+ <field name="document_type_id" colspan="1"
2769+ on_change="onchange_document(vat,document_type_id,document_number)"/>
2770+ <field name="document_number" colspan="1"
2771+ on_change="onchange_document(vat,document_type_id,document_number)"/>
2772 </field>
2773 </data>
2774 </field>
2775
2776=== added directory 'l10n_ar_invoice_sale'
2777=== added file 'l10n_ar_invoice_sale/AUTHORS'
2778--- l10n_ar_invoice_sale/AUTHORS 1970-01-01 00:00:00 +0000
2779+++ l10n_ar_invoice_sale/AUTHORS 2014-01-20 20:26:39 +0000
2780@@ -0,0 +1,38 @@
2781+# -*- coding: utf-8 -*-
2782+##############################################################################
2783+#
2784+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
2785+# https://launchpad.net/~openerp-l10n-ar-localization
2786+#
2787+# This program is free software: you can redistribute it and/or modify
2788+# it under the terms of the GNU General Public License as published by
2789+# the Free Software Foundation, either version 3 of the License, or
2790+# (at your option) any later version.
2791+#
2792+# This program is distributed in the hope that it will be useful,
2793+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2794+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2795+# GNU General Public License for more details.
2796+#
2797+# You should have received a copy of the GNU General Public License
2798+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2799+#
2800+##############################################################################
2801+#
2802+# En este archivo encontrará la lista de contribuyentes al código del
2803+# presente módulo de la localización argentina.
2804+#
2805+# Si usted ha contribuido debe indicar su nombre y correo electrónico tal
2806+# como se presenta a continuación.
2807+#
2808+# El órden de contribución será determinado en forma alfabética. Si quiere
2809+# saber como ha contribuido cada autor en el módulo le recomendamos ver la
2810+# página de launchpad
2811+#
2812+# http://bazaar.launchpad.net/~openerp-l10n-ar-localization/openerp-l10n-ar-localization/6.0/changes
2813+#
2814+##############################################################################
2815+
2816+Juan José Scarafía <scarafia.juanjose@gmail.com>
2817+
2818+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2819
2820=== added file 'l10n_ar_invoice_sale/LICENSE'
2821--- l10n_ar_invoice_sale/LICENSE 1970-01-01 00:00:00 +0000
2822+++ l10n_ar_invoice_sale/LICENSE 2014-01-20 20:26:39 +0000
2823@@ -0,0 +1,661 @@
2824+ GNU AFFERO GENERAL PUBLIC LICENSE
2825+ Version 3, 19 November 2007
2826+
2827+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
2828+ Everyone is permitted to copy and distribute verbatim copies
2829+ of this license document, but changing it is not allowed.
2830+
2831+ Preamble
2832+
2833+ The GNU Affero General Public License is a free, copyleft license for
2834+software and other kinds of works, specifically designed to ensure
2835+cooperation with the community in the case of network server software.
2836+
2837+ The licenses for most software and other practical works are designed
2838+to take away your freedom to share and change the works. By contrast,
2839+our General Public Licenses are intended to guarantee your freedom to
2840+share and change all versions of a program--to make sure it remains free
2841+software for all its users.
2842+
2843+ When we speak of free software, we are referring to freedom, not
2844+price. Our General Public Licenses are designed to make sure that you
2845+have the freedom to distribute copies of free software (and charge for
2846+them if you wish), that you receive source code or can get it if you
2847+want it, that you can change the software or use pieces of it in new
2848+free programs, and that you know you can do these things.
2849+
2850+ Developers that use our General Public Licenses protect your rights
2851+with two steps: (1) assert copyright on the software, and (2) offer
2852+you this License which gives you legal permission to copy, distribute
2853+and/or modify the software.
2854+
2855+ A secondary benefit of defending all users' freedom is that
2856+improvements made in alternate versions of the program, if they
2857+receive widespread use, become available for other developers to
2858+incorporate. Many developers of free software are heartened and
2859+encouraged by the resulting cooperation. However, in the case of
2860+software used on network servers, this result may fail to come about.
2861+The GNU General Public License permits making a modified version and
2862+letting the public access it on a server without ever releasing its
2863+source code to the public.
2864+
2865+ The GNU Affero General Public License is designed specifically to
2866+ensure that, in such cases, the modified source code becomes available
2867+to the community. It requires the operator of a network server to
2868+provide the source code of the modified version running there to the
2869+users of that server. Therefore, public use of a modified version, on
2870+a publicly accessible server, gives the public access to the source
2871+code of the modified version.
2872+
2873+ An older license, called the Affero General Public License and
2874+published by Affero, was designed to accomplish similar goals. This is
2875+a different license, not a version of the Affero GPL, but Affero has
2876+released a new version of the Affero GPL which permits relicensing under
2877+this license.
2878+
2879+ The precise terms and conditions for copying, distribution and
2880+modification follow.
2881+
2882+ TERMS AND CONDITIONS
2883+
2884+ 0. Definitions.
2885+
2886+ "This License" refers to version 3 of the GNU Affero General Public License.
2887+
2888+ "Copyright" also means copyright-like laws that apply to other kinds of
2889+works, such as semiconductor masks.
2890+
2891+ "The Program" refers to any copyrightable work licensed under this
2892+License. Each licensee is addressed as "you". "Licensees" and
2893+"recipients" may be individuals or organizations.
2894+
2895+ To "modify" a work means to copy from or adapt all or part of the work
2896+in a fashion requiring copyright permission, other than the making of an
2897+exact copy. The resulting work is called a "modified version" of the
2898+earlier work or a work "based on" the earlier work.
2899+
2900+ A "covered work" means either the unmodified Program or a work based
2901+on the Program.
2902+
2903+ To "propagate" a work means to do anything with it that, without
2904+permission, would make you directly or secondarily liable for
2905+infringement under applicable copyright law, except executing it on a
2906+computer or modifying a private copy. Propagation includes copying,
2907+distribution (with or without modification), making available to the
2908+public, and in some countries other activities as well.
2909+
2910+ To "convey" a work means any kind of propagation that enables other
2911+parties to make or receive copies. Mere interaction with a user through
2912+a computer network, with no transfer of a copy, is not conveying.
2913+
2914+ An interactive user interface displays "Appropriate Legal Notices"
2915+to the extent that it includes a convenient and prominently visible
2916+feature that (1) displays an appropriate copyright notice, and (2)
2917+tells the user that there is no warranty for the work (except to the
2918+extent that warranties are provided), that licensees may convey the
2919+work under this License, and how to view a copy of this License. If
2920+the interface presents a list of user commands or options, such as a
2921+menu, a prominent item in the list meets this criterion.
2922+
2923+ 1. Source Code.
2924+
2925+ The "source code" for a work means the preferred form of the work
2926+for making modifications to it. "Object code" means any non-source
2927+form of a work.
2928+
2929+ A "Standard Interface" means an interface that either is an official
2930+standard defined by a recognized standards body, or, in the case of
2931+interfaces specified for a particular programming language, one that
2932+is widely used among developers working in that language.
2933+
2934+ The "System Libraries" of an executable work include anything, other
2935+than the work as a whole, that (a) is included in the normal form of
2936+packaging a Major Component, but which is not part of that Major
2937+Component, and (b) serves only to enable use of the work with that
2938+Major Component, or to implement a Standard Interface for which an
2939+implementation is available to the public in source code form. A
2940+"Major Component", in this context, means a major essential component
2941+(kernel, window system, and so on) of the specific operating system
2942+(if any) on which the executable work runs, or a compiler used to
2943+produce the work, or an object code interpreter used to run it.
2944+
2945+ The "Corresponding Source" for a work in object code form means all
2946+the source code needed to generate, install, and (for an executable
2947+work) run the object code and to modify the work, including scripts to
2948+control those activities. However, it does not include the work's
2949+System Libraries, or general-purpose tools or generally available free
2950+programs which are used unmodified in performing those activities but
2951+which are not part of the work. For example, Corresponding Source
2952+includes interface definition files associated with source files for
2953+the work, and the source code for shared libraries and dynamically
2954+linked subprograms that the work is specifically designed to require,
2955+such as by intimate data communication or control flow between those
2956+subprograms and other parts of the work.
2957+
2958+ The Corresponding Source need not include anything that users
2959+can regenerate automatically from other parts of the Corresponding
2960+Source.
2961+
2962+ The Corresponding Source for a work in source code form is that
2963+same work.
2964+
2965+ 2. Basic Permissions.
2966+
2967+ All rights granted under this License are granted for the term of
2968+copyright on the Program, and are irrevocable provided the stated
2969+conditions are met. This License explicitly affirms your unlimited
2970+permission to run the unmodified Program. The output from running a
2971+covered work is covered by this License only if the output, given its
2972+content, constitutes a covered work. This License acknowledges your
2973+rights of fair use or other equivalent, as provided by copyright law.
2974+
2975+ You may make, run and propagate covered works that you do not
2976+convey, without conditions so long as your license otherwise remains
2977+in force. You may convey covered works to others for the sole purpose
2978+of having them make modifications exclusively for you, or provide you
2979+with facilities for running those works, provided that you comply with
2980+the terms of this License in conveying all material for which you do
2981+not control copyright. Those thus making or running the covered works
2982+for you must do so exclusively on your behalf, under your direction
2983+and control, on terms that prohibit them from making any copies of
2984+your copyrighted material outside their relationship with you.
2985+
2986+ Conveying under any other circumstances is permitted solely under
2987+the conditions stated below. Sublicensing is not allowed; section 10
2988+makes it unnecessary.
2989+
2990+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
2991+
2992+ No covered work shall be deemed part of an effective technological
2993+measure under any applicable law fulfilling obligations under article
2994+11 of the WIPO copyright treaty adopted on 20 December 1996, or
2995+similar laws prohibiting or restricting circumvention of such
2996+measures.
2997+
2998+ When you convey a covered work, you waive any legal power to forbid
2999+circumvention of technological measures to the extent such circumvention
3000+is effected by exercising rights under this License with respect to
3001+the covered work, and you disclaim any intention to limit operation or
3002+modification of the work as a means of enforcing, against the work's
3003+users, your or third parties' legal rights to forbid circumvention of
3004+technological measures.
3005+
3006+ 4. Conveying Verbatim Copies.
3007+
3008+ You may convey verbatim copies of the Program's source code as you
3009+receive it, in any medium, provided that you conspicuously and
3010+appropriately publish on each copy an appropriate copyright notice;
3011+keep intact all notices stating that this License and any
3012+non-permissive terms added in accord with section 7 apply to the code;
3013+keep intact all notices of the absence of any warranty; and give all
3014+recipients a copy of this License along with the Program.
3015+
3016+ You may charge any price or no price for each copy that you convey,
3017+and you may offer support or warranty protection for a fee.
3018+
3019+ 5. Conveying Modified Source Versions.
3020+
3021+ You may convey a work based on the Program, or the modifications to
3022+produce it from the Program, in the form of source code under the
3023+terms of section 4, provided that you also meet all of these conditions:
3024+
3025+ a) The work must carry prominent notices stating that you modified
3026+ it, and giving a relevant date.
3027+
3028+ b) The work must carry prominent notices stating that it is
3029+ released under this License and any conditions added under section
3030+ 7. This requirement modifies the requirement in section 4 to
3031+ "keep intact all notices".
3032+
3033+ c) You must license the entire work, as a whole, under this
3034+ License to anyone who comes into possession of a copy. This
3035+ License will therefore apply, along with any applicable section 7
3036+ additional terms, to the whole of the work, and all its parts,
3037+ regardless of how they are packaged. This License gives no
3038+ permission to license the work in any other way, but it does not
3039+ invalidate such permission if you have separately received it.
3040+
3041+ d) If the work has interactive user interfaces, each must display
3042+ Appropriate Legal Notices; however, if the Program has interactive
3043+ interfaces that do not display Appropriate Legal Notices, your
3044+ work need not make them do so.
3045+
3046+ A compilation of a covered work with other separate and independent
3047+works, which are not by their nature extensions of the covered work,
3048+and which are not combined with it such as to form a larger program,
3049+in or on a volume of a storage or distribution medium, is called an
3050+"aggregate" if the compilation and its resulting copyright are not
3051+used to limit the access or legal rights of the compilation's users
3052+beyond what the individual works permit. Inclusion of a covered work
3053+in an aggregate does not cause this License to apply to the other
3054+parts of the aggregate.
3055+
3056+ 6. Conveying Non-Source Forms.
3057+
3058+ You may convey a covered work in object code form under the terms
3059+of sections 4 and 5, provided that you also convey the
3060+machine-readable Corresponding Source under the terms of this License,
3061+in one of these ways:
3062+
3063+ a) Convey the object code in, or embodied in, a physical product
3064+ (including a physical distribution medium), accompanied by the
3065+ Corresponding Source fixed on a durable physical medium
3066+ customarily used for software interchange.
3067+
3068+ b) Convey the object code in, or embodied in, a physical product
3069+ (including a physical distribution medium), accompanied by a
3070+ written offer, valid for at least three years and valid for as
3071+ long as you offer spare parts or customer support for that product
3072+ model, to give anyone who possesses the object code either (1) a
3073+ copy of the Corresponding Source for all the software in the
3074+ product that is covered by this License, on a durable physical
3075+ medium customarily used for software interchange, for a price no
3076+ more than your reasonable cost of physically performing this
3077+ conveying of source, or (2) access to copy the
3078+ Corresponding Source from a network server at no charge.
3079+
3080+ c) Convey individual copies of the object code with a copy of the
3081+ written offer to provide the Corresponding Source. This
3082+ alternative is allowed only occasionally and noncommercially, and
3083+ only if you received the object code with such an offer, in accord
3084+ with subsection 6b.
3085+
3086+ d) Convey the object code by offering access from a designated
3087+ place (gratis or for a charge), and offer equivalent access to the
3088+ Corresponding Source in the same way through the same place at no
3089+ further charge. You need not require recipients to copy the
3090+ Corresponding Source along with the object code. If the place to
3091+ copy the object code is a network server, the Corresponding Source
3092+ may be on a different server (operated by you or a third party)
3093+ that supports equivalent copying facilities, provided you maintain
3094+ clear directions next to the object code saying where to find the
3095+ Corresponding Source. Regardless of what server hosts the
3096+ Corresponding Source, you remain obligated to ensure that it is
3097+ available for as long as needed to satisfy these requirements.
3098+
3099+ e) Convey the object code using peer-to-peer transmission, provided
3100+ you inform other peers where the object code and Corresponding
3101+ Source of the work are being offered to the general public at no
3102+ charge under subsection 6d.
3103+
3104+ A separable portion of the object code, whose source code is excluded
3105+from the Corresponding Source as a System Library, need not be
3106+included in conveying the object code work.
3107+
3108+ A "User Product" is either (1) a "consumer product", which means any
3109+tangible personal property which is normally used for personal, family,
3110+or household purposes, or (2) anything designed or sold for incorporation
3111+into a dwelling. In determining whether a product is a consumer product,
3112+doubtful cases shall be resolved in favor of coverage. For a particular
3113+product received by a particular user, "normally used" refers to a
3114+typical or common use of that class of product, regardless of the status
3115+of the particular user or of the way in which the particular user
3116+actually uses, or expects or is expected to use, the product. A product
3117+is a consumer product regardless of whether the product has substantial
3118+commercial, industrial or non-consumer uses, unless such uses represent
3119+the only significant mode of use of the product.
3120+
3121+ "Installation Information" for a User Product means any methods,
3122+procedures, authorization keys, or other information required to install
3123+and execute modified versions of a covered work in that User Product from
3124+a modified version of its Corresponding Source. The information must
3125+suffice to ensure that the continued functioning of the modified object
3126+code is in no case prevented or interfered with solely because
3127+modification has been made.
3128+
3129+ If you convey an object code work under this section in, or with, or
3130+specifically for use in, a User Product, and the conveying occurs as
3131+part of a transaction in which the right of possession and use of the
3132+User Product is transferred to the recipient in perpetuity or for a
3133+fixed term (regardless of how the transaction is characterized), the
3134+Corresponding Source conveyed under this section must be accompanied
3135+by the Installation Information. But this requirement does not apply
3136+if neither you nor any third party retains the ability to install
3137+modified object code on the User Product (for example, the work has
3138+been installed in ROM).
3139+
3140+ The requirement to provide Installation Information does not include a
3141+requirement to continue to provide support service, warranty, or updates
3142+for a work that has been modified or installed by the recipient, or for
3143+the User Product in which it has been modified or installed. Access to a
3144+network may be denied when the modification itself materially and
3145+adversely affects the operation of the network or violates the rules and
3146+protocols for communication across the network.
3147+
3148+ Corresponding Source conveyed, and Installation Information provided,
3149+in accord with this section must be in a format that is publicly
3150+documented (and with an implementation available to the public in
3151+source code form), and must require no special password or key for
3152+unpacking, reading or copying.
3153+
3154+ 7. Additional Terms.
3155+
3156+ "Additional permissions" are terms that supplement the terms of this
3157+License by making exceptions from one or more of its conditions.
3158+Additional permissions that are applicable to the entire Program shall
3159+be treated as though they were included in this License, to the extent
3160+that they are valid under applicable law. If additional permissions
3161+apply only to part of the Program, that part may be used separately
3162+under those permissions, but the entire Program remains governed by
3163+this License without regard to the additional permissions.
3164+
3165+ When you convey a copy of a covered work, you may at your option
3166+remove any additional permissions from that copy, or from any part of
3167+it. (Additional permissions may be written to require their own
3168+removal in certain cases when you modify the work.) You may place
3169+additional permissions on material, added by you to a covered work,
3170+for which you have or can give appropriate copyright permission.
3171+
3172+ Notwithstanding any other provision of this License, for material you
3173+add to a covered work, you may (if authorized by the copyright holders of
3174+that material) supplement the terms of this License with terms:
3175+
3176+ a) Disclaiming warranty or limiting liability differently from the
3177+ terms of sections 15 and 16 of this License; or
3178+
3179+ b) Requiring preservation of specified reasonable legal notices or
3180+ author attributions in that material or in the Appropriate Legal
3181+ Notices displayed by works containing it; or
3182+
3183+ c) Prohibiting misrepresentation of the origin of that material, or
3184+ requiring that modified versions of such material be marked in
3185+ reasonable ways as different from the original version; or
3186+
3187+ d) Limiting the use for publicity purposes of names of licensors or
3188+ authors of the material; or
3189+
3190+ e) Declining to grant rights under trademark law for use of some
3191+ trade names, trademarks, or service marks; or
3192+
3193+ f) Requiring indemnification of licensors and authors of that
3194+ material by anyone who conveys the material (or modified versions of
3195+ it) with contractual assumptions of liability to the recipient, for
3196+ any liability that these contractual assumptions directly impose on
3197+ those licensors and authors.
3198+
3199+ All other non-permissive additional terms are considered "further
3200+restrictions" within the meaning of section 10. If the Program as you
3201+received it, or any part of it, contains a notice stating that it is
3202+governed by this License along with a term that is a further
3203+restriction, you may remove that term. If a license document contains
3204+a further restriction but permits relicensing or conveying under this
3205+License, you may add to a covered work material governed by the terms
3206+of that license document, provided that the further restriction does
3207+not survive such relicensing or conveying.
3208+
3209+ If you add terms to a covered work in accord with this section, you
3210+must place, in the relevant source files, a statement of the
3211+additional terms that apply to those files, or a notice indicating
3212+where to find the applicable terms.
3213+
3214+ Additional terms, permissive or non-permissive, may be stated in the
3215+form of a separately written license, or stated as exceptions;
3216+the above requirements apply either way.
3217+
3218+ 8. Termination.
3219+
3220+ You may not propagate or modify a covered work except as expressly
3221+provided under this License. Any attempt otherwise to propagate or
3222+modify it is void, and will automatically terminate your rights under
3223+this License (including any patent licenses granted under the third
3224+paragraph of section 11).
3225+
3226+ However, if you cease all violation of this License, then your
3227+license from a particular copyright holder is reinstated (a)
3228+provisionally, unless and until the copyright holder explicitly and
3229+finally terminates your license, and (b) permanently, if the copyright
3230+holder fails to notify you of the violation by some reasonable means
3231+prior to 60 days after the cessation.
3232+
3233+ Moreover, your license from a particular copyright holder is
3234+reinstated permanently if the copyright holder notifies you of the
3235+violation by some reasonable means, this is the first time you have
3236+received notice of violation of this License (for any work) from that
3237+copyright holder, and you cure the violation prior to 30 days after
3238+your receipt of the notice.
3239+
3240+ Termination of your rights under this section does not terminate the
3241+licenses of parties who have received copies or rights from you under
3242+this License. If your rights have been terminated and not permanently
3243+reinstated, you do not qualify to receive new licenses for the same
3244+material under section 10.
3245+
3246+ 9. Acceptance Not Required for Having Copies.
3247+
3248+ You are not required to accept this License in order to receive or
3249+run a copy of the Program. Ancillary propagation of a covered work
3250+occurring solely as a consequence of using peer-to-peer transmission
3251+to receive a copy likewise does not require acceptance. However,
3252+nothing other than this License grants you permission to propagate or
3253+modify any covered work. These actions infringe copyright if you do
3254+not accept this License. Therefore, by modifying or propagating a
3255+covered work, you indicate your acceptance of this License to do so.
3256+
3257+ 10. Automatic Licensing of Downstream Recipients.
3258+
3259+ Each time you convey a covered work, the recipient automatically
3260+receives a license from the original licensors, to run, modify and
3261+propagate that work, subject to this License. You are not responsible
3262+for enforcing compliance by third parties with this License.
3263+
3264+ An "entity transaction" is a transaction transferring control of an
3265+organization, or substantially all assets of one, or subdividing an
3266+organization, or merging organizations. If propagation of a covered
3267+work results from an entity transaction, each party to that
3268+transaction who receives a copy of the work also receives whatever
3269+licenses to the work the party's predecessor in interest had or could
3270+give under the previous paragraph, plus a right to possession of the
3271+Corresponding Source of the work from the predecessor in interest, if
3272+the predecessor has it or can get it with reasonable efforts.
3273+
3274+ You may not impose any further restrictions on the exercise of the
3275+rights granted or affirmed under this License. For example, you may
3276+not impose a license fee, royalty, or other charge for exercise of
3277+rights granted under this License, and you may not initiate litigation
3278+(including a cross-claim or counterclaim in a lawsuit) alleging that
3279+any patent claim is infringed by making, using, selling, offering for
3280+sale, or importing the Program or any portion of it.
3281+
3282+ 11. Patents.
3283+
3284+ A "contributor" is a copyright holder who authorizes use under this
3285+License of the Program or a work on which the Program is based. The
3286+work thus licensed is called the contributor's "contributor version".
3287+
3288+ A contributor's "essential patent claims" are all patent claims
3289+owned or controlled by the contributor, whether already acquired or
3290+hereafter acquired, that would be infringed by some manner, permitted
3291+by this License, of making, using, or selling its contributor version,
3292+but do not include claims that would be infringed only as a
3293+consequence of further modification of the contributor version. For
3294+purposes of this definition, "control" includes the right to grant
3295+patent sublicenses in a manner consistent with the requirements of
3296+this License.
3297+
3298+ Each contributor grants you a non-exclusive, worldwide, royalty-free
3299+patent license under the contributor's essential patent claims, to
3300+make, use, sell, offer for sale, import and otherwise run, modify and
3301+propagate the contents of its contributor version.
3302+
3303+ In the following three paragraphs, a "patent license" is any express
3304+agreement or commitment, however denominated, not to enforce a patent
3305+(such as an express permission to practice a patent or covenant not to
3306+sue for patent infringement). To "grant" such a patent license to a
3307+party means to make such an agreement or commitment not to enforce a
3308+patent against the party.
3309+
3310+ If you convey a covered work, knowingly relying on a patent license,
3311+and the Corresponding Source of the work is not available for anyone
3312+to copy, free of charge and under the terms of this License, through a
3313+publicly available network server or other readily accessible means,
3314+then you must either (1) cause the Corresponding Source to be so
3315+available, or (2) arrange to deprive yourself of the benefit of the
3316+patent license for this particular work, or (3) arrange, in a manner
3317+consistent with the requirements of this License, to extend the patent
3318+license to downstream recipients. "Knowingly relying" means you have
3319+actual knowledge that, but for the patent license, your conveying the
3320+covered work in a country, or your recipient's use of the covered work
3321+in a country, would infringe one or more identifiable patents in that
3322+country that you have reason to believe are valid.
3323+
3324+ If, pursuant to or in connection with a single transaction or
3325+arrangement, you convey, or propagate by procuring conveyance of, a
3326+covered work, and grant a patent license to some of the parties
3327+receiving the covered work authorizing them to use, propagate, modify
3328+or convey a specific copy of the covered work, then the patent license
3329+you grant is automatically extended to all recipients of the covered
3330+work and works based on it.
3331+
3332+ A patent license is "discriminatory" if it does not include within
3333+the scope of its coverage, prohibits the exercise of, or is
3334+conditioned on the non-exercise of one or more of the rights that are
3335+specifically granted under this License. You may not convey a covered
3336+work if you are a party to an arrangement with a third party that is
3337+in the business of distributing software, under which you make payment
3338+to the third party based on the extent of your activity of conveying
3339+the work, and under which the third party grants, to any of the
3340+parties who would receive the covered work from you, a discriminatory
3341+patent license (a) in connection with copies of the covered work
3342+conveyed by you (or copies made from those copies), or (b) primarily
3343+for and in connection with specific products or compilations that
3344+contain the covered work, unless you entered into that arrangement,
3345+or that patent license was granted, prior to 28 March 2007.
3346+
3347+ Nothing in this License shall be construed as excluding or limiting
3348+any implied license or other defenses to infringement that may
3349+otherwise be available to you under applicable patent law.
3350+
3351+ 12. No Surrender of Others' Freedom.
3352+
3353+ If conditions are imposed on you (whether by court order, agreement or
3354+otherwise) that contradict the conditions of this License, they do not
3355+excuse you from the conditions of this License. If you cannot convey a
3356+covered work so as to satisfy simultaneously your obligations under this
3357+License and any other pertinent obligations, then as a consequence you may
3358+not convey it at all. For example, if you agree to terms that obligate you
3359+to collect a royalty for further conveying from those to whom you convey
3360+the Program, the only way you could satisfy both those terms and this
3361+License would be to refrain entirely from conveying the Program.
3362+
3363+ 13. Remote Network Interaction; Use with the GNU General Public License.
3364+
3365+ Notwithstanding any other provision of this License, if you modify the
3366+Program, your modified version must prominently offer all users
3367+interacting with it remotely through a computer network (if your version
3368+supports such interaction) an opportunity to receive the Corresponding
3369+Source of your version by providing access to the Corresponding Source
3370+from a network server at no charge, through some standard or customary
3371+means of facilitating copying of software. This Corresponding Source
3372+shall include the Corresponding Source for any work covered by version 3
3373+of the GNU General Public License that is incorporated pursuant to the
3374+following paragraph.
3375+
3376+ Notwithstanding any other provision of this License, you have
3377+permission to link or combine any covered work with a work licensed
3378+under version 3 of the GNU General Public License into a single
3379+combined work, and to convey the resulting work. The terms of this
3380+License will continue to apply to the part which is the covered work,
3381+but the work with which it is combined will remain governed by version
3382+3 of the GNU General Public License.
3383+
3384+ 14. Revised Versions of this License.
3385+
3386+ The Free Software Foundation may publish revised and/or new versions of
3387+the GNU Affero General Public License from time to time. Such new versions
3388+will be similar in spirit to the present version, but may differ in detail to
3389+address new problems or concerns.
3390+
3391+ Each version is given a distinguishing version number. If the
3392+Program specifies that a certain numbered version of the GNU Affero General
3393+Public License "or any later version" applies to it, you have the
3394+option of following the terms and conditions either of that numbered
3395+version or of any later version published by the Free Software
3396+Foundation. If the Program does not specify a version number of the
3397+GNU Affero General Public License, you may choose any version ever published
3398+by the Free Software Foundation.
3399+
3400+ If the Program specifies that a proxy can decide which future
3401+versions of the GNU Affero General Public License can be used, that proxy's
3402+public statement of acceptance of a version permanently authorizes you
3403+to choose that version for the Program.
3404+
3405+ Later license versions may give you additional or different
3406+permissions. However, no additional obligations are imposed on any
3407+author or copyright holder as a result of your choosing to follow a
3408+later version.
3409+
3410+ 15. Disclaimer of Warranty.
3411+
3412+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
3413+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
3414+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
3415+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3416+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3417+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
3418+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
3419+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3420+
3421+ 16. Limitation of Liability.
3422+
3423+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3424+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
3425+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
3426+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
3427+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
3428+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
3429+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
3430+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
3431+SUCH DAMAGES.
3432+
3433+ 17. Interpretation of Sections 15 and 16.
3434+
3435+ If the disclaimer of warranty and limitation of liability provided
3436+above cannot be given local legal effect according to their terms,
3437+reviewing courts shall apply local law that most closely approximates
3438+an absolute waiver of all civil liability in connection with the
3439+Program, unless a warranty or assumption of liability accompanies a
3440+copy of the Program in return for a fee.
3441+
3442+ END OF TERMS AND CONDITIONS
3443+
3444+ How to Apply These Terms to Your New Programs
3445+
3446+ If you develop a new program, and you want it to be of the greatest
3447+possible use to the public, the best way to achieve this is to make it
3448+free software which everyone can redistribute and change under these terms.
3449+
3450+ To do so, attach the following notices to the program. It is safest
3451+to attach them to the start of each source file to most effectively
3452+state the exclusion of warranty; and each file should have at least
3453+the "copyright" line and a pointer to where the full notice is found.
3454+
3455+ <one line to give the program's name and a brief idea of what it does.>
3456+ Copyright (C) <year> <name of author>
3457+
3458+ This program is free software: you can redistribute it and/or modify
3459+ it under the terms of the GNU Affero General Public License as published by
3460+ the Free Software Foundation, either version 3 of the License, or
3461+ (at your option) any later version.
3462+
3463+ This program is distributed in the hope that it will be useful,
3464+ but WITHOUT ANY WARRANTY; without even the implied warranty of
3465+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3466+ GNU Affero General Public License for more details.
3467+
3468+ You should have received a copy of the GNU Affero General Public License
3469+ along with this program. If not, see <http://www.gnu.org/licenses/>.
3470+
3471+Also add information on how to contact you by electronic and paper mail.
3472+
3473+ If your software can interact with users remotely through a computer
3474+network, you should also make sure that it provides a way for users to
3475+get its source. For example, if your program is a web application, its
3476+interface could display a "Source" link that leads users to an archive
3477+of the code. There are many ways you could offer source, and different
3478+solutions will be better for different programs; see section 13 for the
3479+specific requirements.
3480+
3481+ You should also get your employer (if you work as a programmer) or school,
3482+if any, to sign a "copyright disclaimer" for the program, if necessary.
3483+For more information on this, and how to apply and follow the GNU AGPL, see
3484+<http://www.gnu.org/licenses/>.
3485
3486=== added file 'l10n_ar_invoice_sale/__init__.py'
3487--- l10n_ar_invoice_sale/__init__.py 1970-01-01 00:00:00 +0000
3488+++ l10n_ar_invoice_sale/__init__.py 2014-01-20 20:26:39 +0000
3489@@ -0,0 +1,24 @@
3490+# -*- coding: utf-8 -*-
3491+##############################################################################
3492+#
3493+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
3494+# https://launchpad.net/~openerp-l10n-ar-localization
3495+#
3496+# This program is free software: you can redistribute it and/or modify
3497+# it under the terms of the GNU General Public License as published by
3498+# the Free Software Foundation, either version 3 of the License, or
3499+# (at your option) any later version.
3500+#
3501+# This program is distributed in the hope that it will be useful,
3502+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3503+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3504+# GNU General Public License for more details.
3505+#
3506+# You should have received a copy of the GNU General Public License
3507+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3508+#
3509+##############################################################################
3510+
3511+import sale
3512+
3513+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3514
3515=== added file 'l10n_ar_invoice_sale/__openerp__.py'
3516--- l10n_ar_invoice_sale/__openerp__.py 1970-01-01 00:00:00 +0000
3517+++ l10n_ar_invoice_sale/__openerp__.py 2014-01-20 20:26:39 +0000
3518@@ -0,0 +1,43 @@
3519+# -*- coding: utf-8 -*-
3520+##############################################################################
3521+#
3522+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
3523+# https://launchpad.net/~openerp-l10n-ar-localization
3524+#
3525+# This program is free software: you can redistribute it and/or modify
3526+# it under the terms of the GNU General Public License as published by
3527+# the Free Software Foundation, either version 3 of the License, or
3528+# (at your option) any later version.
3529+#
3530+# This program is distributed in the hope that it will be useful,
3531+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3532+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3533+# GNU General Public License for more details.
3534+#
3535+# You should have received a copy of the GNU General Public License
3536+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3537+#
3538+##############################################################################
3539+{ 'active': False,
3540+ 'author': 'OpenERP - Team de Localizaci\xc3\xb3n Argentina',
3541+ 'category': 'Localization/Argentina',
3542+ 'demo_xml': [],
3543+ 'depends': [
3544+ 'l10n_ar_invoice',
3545+ 'sale'],
3546+ 'description': '''
3547+Modulo que integra l10n_ar_invoice y sale. Permite asignación automatica de diario al crear una factura desde una orden de venta
3548+TODO: ver si ya se hizo el merge del procedimiento de sale/wizard/sale_line_invoice.py, en ese caso no habria que hacer nada mas, si no hay que sobreescribir dicho procedimiento para elegir el jorunal correcto.
3549+''',
3550+ 'init_xml': [],
3551+ 'installable': True,
3552+ 'auto_install': True,
3553+ 'license': 'AGPL-3',
3554+ 'name': 'Argentina - Asignación automática de Diarios',
3555+ 'test': [
3556+ ],
3557+ 'update_xml': [
3558+ ],
3559+ 'version': '2.7.232',
3560+ 'website': 'https://launchpad.net/~openerp-l10n-ar-localization'}
3561+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3562
3563=== added directory 'l10n_ar_invoice_sale/data'
3564=== added directory 'l10n_ar_invoice_sale/i18n'
3565=== added directory 'l10n_ar_invoice_sale/report'
3566=== added file 'l10n_ar_invoice_sale/sale.py'
3567--- l10n_ar_invoice_sale/sale.py 1970-01-01 00:00:00 +0000
3568+++ l10n_ar_invoice_sale/sale.py 2014-01-20 20:26:39 +0000
3569@@ -0,0 +1,63 @@
3570+# -*- coding: utf-8 -*-
3571+##############################################################################
3572+#
3573+# OpenERP, Open Source Management Solution
3574+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
3575+#
3576+# This program is free software: you can redistribute it and/or modify
3577+# it under the terms of the GNU Affero General Public License as
3578+# published by the Free Software Foundation, either version 3 of the
3579+# License, or (at your option) any later version.
3580+#
3581+# This program is distributed in the hope that it will be useful,
3582+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3583+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3584+# GNU Affero General Public License for more details.
3585+#
3586+# You should have received a copy of the GNU Affero General Public License
3587+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3588+#
3589+##############################################################################
3590+
3591+from datetime import datetime, timedelta
3592+from dateutil.relativedelta import relativedelta
3593+import time
3594+from openerp import pooler
3595+from openerp.osv import fields, osv
3596+from openerp.tools.translate import _
3597+from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, DATETIME_FORMATS_MAP, float_compare
3598+import openerp.addons.decimal_precision as dp
3599+from openerp import netsvc
3600+
3601+
3602+class sale_order(osv.osv):
3603+ _inherit = "sale.order"
3604+
3605+ def _prepare_invoice(self, cr, uid, order, lines, context=None):
3606+ if context is None:
3607+ context = {}
3608+
3609+ invoice_obj = self.pool.get('account.invoice')
3610+
3611+ result = super(sale_order,self)._prepare_invoice(cr, uid, order, lines, context=context)
3612+ journal_ids = self.pool.get('account.journal').search(cr, uid,
3613+ [('type', '=', 'sale'), ('company_id', '=', order.company_id.id)],
3614+ limit=1)
3615+
3616+ partner_id = result.get('partner_id' or False)
3617+ company_id = result.get('company_id' or False)
3618+ journal_type = 'sale'
3619+
3620+ journal_ids = False
3621+ journal_id = False
3622+
3623+ if company_id and partner_id:
3624+ journal_ids = invoice_obj.get_valid_journals(cr, uid, partner_id, journal_type, is_debit_note=False, company_id=company_id)
3625+
3626+ if journal_ids:
3627+ journal_id = journal_ids[0]
3628+
3629+ result['journal_id'] = journal_id
3630+
3631+ return result
3632+
3633\ No newline at end of file
3634
3635=== added directory 'l10n_ar_invoice_sale/security'
3636=== added directory 'l10n_ar_invoice_sale/test'
3637=== added directory 'l10n_ar_invoice_sale/view'
3638=== added directory 'l10n_ar_invoice_sale/wizard'
3639=== added directory 'l10n_ar_invoice_stock'
3640=== added file 'l10n_ar_invoice_stock/AUTHORS'
3641--- l10n_ar_invoice_stock/AUTHORS 1970-01-01 00:00:00 +0000
3642+++ l10n_ar_invoice_stock/AUTHORS 2014-01-20 20:26:39 +0000
3643@@ -0,0 +1,38 @@
3644+# -*- coding: utf-8 -*-
3645+##############################################################################
3646+#
3647+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
3648+# https://launchpad.net/~openerp-l10n-ar-localization
3649+#
3650+# This program is free software: you can redistribute it and/or modify
3651+# it under the terms of the GNU General Public License as published by
3652+# the Free Software Foundation, either version 3 of the License, or
3653+# (at your option) any later version.
3654+#
3655+# This program is distributed in the hope that it will be useful,
3656+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3657+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3658+# GNU General Public License for more details.
3659+#
3660+# You should have received a copy of the GNU General Public License
3661+# along with this program. If not, see <http://www.gnu.org/licenses/>.
3662+#
3663+##############################################################################
3664+#
3665+# En este archivo encontrará la lista de contribuyentes al código del
3666+# presente módulo de la localización argentina.
3667+#
3668+# Si usted ha contribuido debe indicar su nombre y correo electrónico tal
3669+# como se presenta a continuación.
3670+#
3671+# El órden de contribución será determinado en forma alfabética. Si quiere
3672+# saber como ha contribuido cada autor en el módulo le recomendamos ver la
3673+# página de launchpad
3674+#
3675+# http://bazaar.launchpad.net/~openerp-l10n-ar-localization/openerp-l10n-ar-localization/6.0/changes
3676+#
3677+##############################################################################
3678+
3679+Juan José Scarafía <scarafia.juanjose@gmail.com>
3680+
3681+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3682
3683=== added file 'l10n_ar_invoice_stock/LICENSE'
3684--- l10n_ar_invoice_stock/LICENSE 1970-01-01 00:00:00 +0000
3685+++ l10n_ar_invoice_stock/LICENSE 2014-01-20 20:26:39 +0000
3686@@ -0,0 +1,661 @@
3687+ GNU AFFERO GENERAL PUBLIC LICENSE
3688+ Version 3, 19 November 2007
3689+
3690+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
3691+ Everyone is permitted to copy and distribute verbatim copies
3692+ of this license document, but changing it is not allowed.
3693+
3694+ Preamble
3695+
3696+ The GNU Affero General Public License is a free, copyleft license for
3697+software and other kinds of works, specifically designed to ensure
3698+cooperation with the community in the case of network server software.
3699+
3700+ The licenses for most software and other practical works are designed
3701+to take away your freedom to share and change the works. By contrast,
3702+our General Public Licenses are intended to guarantee your freedom to
3703+share and change all versions of a program--to make sure it remains free
3704+software for all its users.
3705+
3706+ When we speak of free software, we are referring to freedom, not
3707+price. Our General Public Licenses are designed to make sure that you
3708+have the freedom to distribute copies of free software (and charge for
3709+them if you wish), that you receive source code or can get it if you
3710+want it, that you can change the software or use pieces of it in new
3711+free programs, and that you know you can do these things.
3712+
3713+ Developers that use our General Public Licenses protect your rights
3714+with two steps: (1) assert copyright on the software, and (2) offer
3715+you this License which gives you legal permission to copy, distribute
3716+and/or modify the software.
3717+
3718+ A secondary benefit of defending all users' freedom is that
3719+improvements made in alternate versions of the program, if they
3720+receive widespread use, become available for other developers to
3721+incorporate. Many developers of free software are heartened and
3722+encouraged by the resulting cooperation. However, in the case of
3723+software used on network servers, this result may fail to come about.
3724+The GNU General Public License permits making a modified version and
3725+letting the public access it on a server without ever releasing its
3726+source code to the public.
3727+
3728+ The GNU Affero General Public License is designed specifically to
3729+ensure that, in such cases, the modified source code becomes available
3730+to the community. It requires the operator of a network server to
3731+provide the source code of the modified version running there to the
3732+users of that server. Therefore, public use of a modified version, on
3733+a publicly accessible server, gives the public access to the source
3734+code of the modified version.
3735+
3736+ An older license, called the Affero General Public License and
3737+published by Affero, was designed to accomplish similar goals. This is
3738+a different license, not a version of the Affero GPL, but Affero has
3739+released a new version of the Affero GPL which permits relicensing under
3740+this license.
3741+
3742+ The precise terms and conditions for copying, distribution and
3743+modification follow.
3744+
3745+ TERMS AND CONDITIONS
3746+
3747+ 0. Definitions.
3748+
3749+ "This License" refers to version 3 of the GNU Affero General Public License.
3750+
3751+ "Copyright" also means copyright-like laws that apply to other kinds of
3752+works, such as semiconductor masks.
3753+
3754+ "The Program" refers to any copyrightable work licensed under this
3755+License. Each licensee is addressed as "you". "Licensees" and
3756+"recipients" may be individuals or organizations.
3757+
3758+ To "modify" a work means to copy from or adapt all or part of the work
3759+in a fashion requiring copyright permission, other than the making of an
3760+exact copy. The resulting work is called a "modified version" of the
3761+earlier work or a work "based on" the earlier work.
3762+
3763+ A "covered work" means either the unmodified Program or a work based
3764+on the Program.
3765+
3766+ To "propagate" a work means to do anything with it that, without
3767+permission, would make you directly or secondarily liable for
3768+infringement under applicable copyright law, except executing it on a
3769+computer or modifying a private copy. Propagation includes copying,
3770+distribution (with or without modification), making available to the
3771+public, and in some countries other activities as well.
3772+
3773+ To "convey" a work means any kind of propagation that enables other
3774+parties to make or receive copies. Mere interaction with a user through
3775+a computer network, with no transfer of a copy, is not conveying.
3776+
3777+ An interactive user interface displays "Appropriate Legal Notices"
3778+to the extent that it includes a convenient and prominently visible
3779+feature that (1) displays an appropriate copyright notice, and (2)
3780+tells the user that there is no warranty for the work (except to the
3781+extent that warranties are provided), that licensees may convey the
3782+work under this License, and how to view a copy of this License. If
3783+the interface presents a list of user commands or options, such as a
3784+menu, a prominent item in the list meets this criterion.
3785+
3786+ 1. Source Code.
3787+
3788+ The "source code" for a work means the preferred form of the work
3789+for making modifications to it. "Object code" means any non-source
3790+form of a work.
3791+
3792+ A "Standard Interface" means an interface that either is an official
3793+standard defined by a recognized standards body, or, in the case of
3794+interfaces specified for a particular programming language, one that
3795+is widely used among developers working in that language.
3796+
3797+ The "System Libraries" of an executable work include anything, other
3798+than the work as a whole, that (a) is included in the normal form of
3799+packaging a Major Component, but which is not part of that Major
3800+Component, and (b) serves only to enable use of the work with that
3801+Major Component, or to implement a Standard Interface for which an
3802+implementation is available to the public in source code form. A
3803+"Major Component", in this context, means a major essential component
3804+(kernel, window system, and so on) of the specific operating system
3805+(if any) on which the executable work runs, or a compiler used to
3806+produce the work, or an object code interpreter used to run it.
3807+
3808+ The "Corresponding Source" for a work in object code form means all
3809+the source code needed to generate, install, and (for an executable
3810+work) run the object code and to modify the work, including scripts to
3811+control those activities. However, it does not include the work's
3812+System Libraries, or general-purpose tools or generally available free
3813+programs which are used unmodified in performing those activities but
3814+which are not part of the work. For example, Corresponding Source
3815+includes interface definition files associated with source files for
3816+the work, and the source code for shared libraries and dynamically
3817+linked subprograms that the work is specifically designed to require,
3818+such as by intimate data communication or control flow between those
3819+subprograms and other parts of the work.
3820+
3821+ The Corresponding Source need not include anything that users
3822+can regenerate automatically from other parts of the Corresponding
3823+Source.
3824+
3825+ The Corresponding Source for a work in source code form is that
3826+same work.
3827+
3828+ 2. Basic Permissions.
3829+
3830+ All rights granted under this License are granted for the term of
3831+copyright on the Program, and are irrevocable provided the stated
3832+conditions are met. This License explicitly affirms your unlimited
3833+permission to run the unmodified Program. The output from running a
3834+covered work is covered by this License only if the output, given its
3835+content, constitutes a covered work. This License acknowledges your
3836+rights of fair use or other equivalent, as provided by copyright law.
3837+
3838+ You may make, run and propagate covered works that you do not
3839+convey, without conditions so long as your license otherwise remains
3840+in force. You may convey covered works to others for the sole purpose
3841+of having them make modifications exclusively for you, or provide you
3842+with facilities for running those works, provided that you comply with
3843+the terms of this License in conveying all material for which you do
3844+not control copyright. Those thus making or running the covered works
3845+for you must do so exclusively on your behalf, under your direction
3846+and control, on terms that prohibit them from making any copies of
3847+your copyrighted material outside their relationship with you.
3848+
3849+ Conveying under any other circumstances is permitted solely under
3850+the conditions stated below. Sublicensing is not allowed; section 10
3851+makes it unnecessary.
3852+
3853+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
3854+
3855+ No covered work shall be deemed part of an effective technological
3856+measure under any applicable law fulfilling obligations under article
3857+11 of the WIPO copyright treaty adopted on 20 December 1996, or
3858+similar laws prohibiting or restricting circumvention of such
3859+measures.
3860+
3861+ When you convey a covered work, you waive any legal power to forbid
3862+circumvention of technological measures to the extent such circumvention
3863+is effected by exercising rights under this License with respect to
3864+the covered work, and you disclaim any intention to limit operation or
3865+modification of the work as a means of enforcing, against the work's
3866+users, your or third parties' legal rights to forbid circumvention of
3867+technological measures.
3868+
3869+ 4. Conveying Verbatim Copies.
3870+
3871+ You may convey verbatim copies of the Program's source code as you
3872+receive it, in any medium, provided that you conspicuously and
3873+appropriately publish on each copy an appropriate copyright notice;
3874+keep intact all notices stating that this License and any
3875+non-permissive terms added in accord with section 7 apply to the code;
3876+keep intact all notices of the absence of any warranty; and give all
3877+recipients a copy of this License along with the Program.
3878+
3879+ You may charge any price or no price for each copy that you convey,
3880+and you may offer support or warranty protection for a fee.
3881+
3882+ 5. Conveying Modified Source Versions.
3883+
3884+ You may convey a work based on the Program, or the modifications to
3885+produce it from the Program, in the form of source code under the
3886+terms of section 4, provided that you also meet all of these conditions:
3887+
3888+ a) The work must carry prominent notices stating that you modified
3889+ it, and giving a relevant date.
3890+
3891+ b) The work must carry prominent notices stating that it is
3892+ released under this License and any conditions added under section
3893+ 7. This requirement modifies the requirement in section 4 to
3894+ "keep intact all notices".
3895+
3896+ c) You must license the entire work, as a whole, under this
3897+ License to anyone who comes into possession of a copy. This
3898+ License will therefore apply, along with any applicable section 7
3899+ additional terms, to the whole of the work, and all its parts,
3900+ regardless of how they are packaged. This License gives no
3901+ permission to license the work in any other way, but it does not
3902+ invalidate such permission if you have separately received it.
3903+
3904+ d) If the work has interactive user interfaces, each must display
3905+ Appropriate Legal Notices; however, if the Program has interactive
3906+ interfaces that do not display Appropriate Legal Notices, your
3907+ work need not make them do so.
3908+
3909+ A compilation of a covered work with other separate and independent
3910+works, which are not by their nature extensions of the covered work,
3911+and which are not combined with it such as to form a larger program,
3912+in or on a volume of a storage or distribution medium, is called an
3913+"aggregate" if the compilation and its resulting copyright are not
3914+used to limit the access or legal rights of the compilation's users
3915+beyond what the individual works permit. Inclusion of a covered work
3916+in an aggregate does not cause this License to apply to the other
3917+parts of the aggregate.
3918+
3919+ 6. Conveying Non-Source Forms.
3920+
3921+ You may convey a covered work in object code form under the terms
3922+of sections 4 and 5, provided that you also convey the
3923+machine-readable Corresponding Source under the terms of this License,
3924+in one of these ways:
3925+
3926+ a) Convey the object code in, or embodied in, a physical product
3927+ (including a physical distribution medium), accompanied by the
3928+ Corresponding Source fixed on a durable physical medium
3929+ customarily used for software interchange.
3930+
3931+ b) Convey the object code in, or embodied in, a physical product
3932+ (including a physical distribution medium), accompanied by a
3933+ written offer, valid for at least three years and valid for as
3934+ long as you offer spare parts or customer support for that product
3935+ model, to give anyone who possesses the object code either (1) a
3936+ copy of the Corresponding Source for all the software in the
3937+ product that is covered by this License, on a durable physical
3938+ medium customarily used for software interchange, for a price no
3939+ more than your reasonable cost of physically performing this
3940+ conveying of source, or (2) access to copy the
3941+ Corresponding Source from a network server at no charge.
3942+
3943+ c) Convey individual copies of the object code with a copy of the
3944+ written offer to provide the Corresponding Source. This
3945+ alternative is allowed only occasionally and noncommercially, and
3946+ only if you received the object code with such an offer, in accord
3947+ with subsection 6b.
3948+
3949+ d) Convey the object code by offering access from a designated
3950+ place (gratis or for a charge), and offer equivalent access to the
3951+ Corresponding Source in the same way through the same place at no
3952+ further charge. You need not require recipients to copy the
3953+ Corresponding Source along with the object code. If the place to
3954+ copy the object code is a network server, the Corresponding Source
3955+ may be on a different server (operated by you or a third party)
3956+ that supports equivalent copying facilities, provided you maintain
3957+ clear directions next to the object code saying where to find the
3958+ Corresponding Source. Regardless of what server hosts the
3959+ Corresponding Source, you remain obligated to ensure that it is
3960+ available for as long as needed to satisfy these requirements.
3961+
3962+ e) Convey the object code using peer-to-peer transmission, provided
3963+ you inform other peers where the object code and Corresponding
3964+ Source of the work are being offered to the general public at no
3965+ charge under subsection 6d.
3966+
3967+ A separable portion of the object code, whose source code is excluded
3968+from the Corresponding Source as a System Library, need not be
3969+included in conveying the object code work.
3970+
3971+ A "User Product" is either (1) a "consumer product", which means any
3972+tangible personal property which is normally used for personal, family,
3973+or household purposes, or (2) anything designed or sold for incorporation
3974+into a dwelling. In determining whether a product is a consumer product,
3975+doubtful cases shall be resolved in favor of coverage. For a particular
3976+product received by a particular user, "normally used" refers to a
3977+typical or common use of that class of product, regardless of the status
3978+of the particular user or of the way in which the particular user
3979+actually uses, or expects or is expected to use, the product. A product
3980+is a consumer product regardless of whether the product has substantial
3981+commercial, industrial or non-consumer uses, unless such uses represent
3982+the only significant mode of use of the product.
3983+
3984+ "Installation Information" for a User Product means any methods,
3985+procedures, authorization keys, or other information required to install
3986+and execute modified versions of a covered work in that User Product from
3987+a modified version of its Corresponding Source. The information must
3988+suffice to ensure that the continued functioning of the modified object
3989+code is in no case prevented or interfered with solely because
3990+modification has been made.
3991+
3992+ If you convey an object code work under this section in, or with, or
3993+specifically for use in, a User Product, and the conveying occurs as
3994+part of a transaction in which the right of possession and use of the
3995+User Product is transferred to the recipient in perpetuity or for a
3996+fixed term (regardless of how the transaction is characterized), the
3997+Corresponding Source conveyed under this section must be accompanied
3998+by the Installation Information. But this requirement does not apply
3999+if neither you nor any third party retains the ability to install
4000+modified object code on the User Product (for example, the work has
4001+been installed in ROM).
4002+
4003+ The requirement to provide Installation Information does not include a
4004+requirement to continue to provide support service, warranty, or updates
4005+for a work that has been modified or installed by the recipient, or for
4006+the User Product in which it has been modified or installed. Access to a
4007+network may be denied when the modification itself materially and
4008+adversely affects the operation of the network or violates the rules and
4009+protocols for communication across the network.
4010+
4011+ Corresponding Source conveyed, and Installation Information provided,
4012+in accord with this section must be in a format that is publicly
4013+documented (and with an implementation available to the public in
4014+source code form), and must require no special password or key for
4015+unpacking, reading or copying.
4016+
4017+ 7. Additional Terms.
4018+
4019+ "Additional permissions" are terms that supplement the terms of this
4020+License by making exceptions from one or more of its conditions.
4021+Additional permissions that are applicable to the entire Program shall
4022+be treated as though they were included in this License, to the extent
4023+that they are valid under applicable law. If additional permissions
4024+apply only to part of the Program, that part may be used separately
4025+under those permissions, but the entire Program remains governed by
4026+this License without regard to the additional permissions.
4027+
4028+ When you convey a copy of a covered work, you may at your option
4029+remove any additional permissions from that copy, or from any part of
4030+it. (Additional permissions may be written to require their own
4031+removal in certain cases when you modify the work.) You may place
4032+additional permissions on material, added by you to a covered work,
4033+for which you have or can give appropriate copyright permission.
4034+
4035+ Notwithstanding any other provision of this License, for material you
4036+add to a covered work, you may (if authorized by the copyright holders of
4037+that material) supplement the terms of this License with terms:
4038+
4039+ a) Disclaiming warranty or limiting liability differently from the
4040+ terms of sections 15 and 16 of this License; or
4041+
4042+ b) Requiring preservation of specified reasonable legal notices or
4043+ author attributions in that material or in the Appropriate Legal
4044+ Notices displayed by works containing it; or
4045+
4046+ c) Prohibiting misrepresentation of the origin of that material, or
4047+ requiring that modified versions of such material be marked in
4048+ reasonable ways as different from the original version; or
4049+
4050+ d) Limiting the use for publicity purposes of names of licensors or
4051+ authors of the material; or
4052+
4053+ e) Declining to grant rights under trademark law for use of some
4054+ trade names, trademarks, or service marks; or
4055+
4056+ f) Requiring indemnification of licensors and authors of that
4057+ material by anyone who conveys the material (or modified versions of
4058+ it) with contractual assumptions of liability to the recipient, for
4059+ any liability that these contractual assumptions directly impose on
4060+ those licensors and authors.
4061+
4062+ All other non-permissive additional terms are considered "further
4063+restrictions" within the meaning of section 10. If the Program as you
4064+received it, or any part of it, contains a notice stating that it is
4065+governed by this License along with a term that is a further
4066+restriction, you may remove that term. If a license document contains
4067+a further restriction but permits relicensing or conveying under this
4068+License, you may add to a covered work material governed by the terms
4069+of that license document, provided that the further restriction does
4070+not survive such relicensing or conveying.
4071+
4072+ If you add terms to a covered work in accord with this section, you
4073+must place, in the relevant source files, a statement of the
4074+additional terms that apply to those files, or a notice indicating
4075+where to find the applicable terms.
4076+
4077+ Additional terms, permissive or non-permissive, may be stated in the
4078+form of a separately written license, or stated as exceptions;
4079+the above requirements apply either way.
4080+
4081+ 8. Termination.
4082+
4083+ You may not propagate or modify a covered work except as expressly
4084+provided under this License. Any attempt otherwise to propagate or
4085+modify it is void, and will automatically terminate your rights under
4086+this License (including any patent licenses granted under the third
4087+paragraph of section 11).
4088+
4089+ However, if you cease all violation of this License, then your
4090+license from a particular copyright holder is reinstated (a)
4091+provisionally, unless and until the copyright holder explicitly and
4092+finally terminates your license, and (b) permanently, if the copyright
4093+holder fails to notify you of the violation by some reasonable means
4094+prior to 60 days after the cessation.
4095+
4096+ Moreover, your license from a particular copyright holder is
4097+reinstated permanently if the copyright holder notifies you of the
4098+violation by some reasonable means, this is the first time you have
4099+received notice of violation of this License (for any work) from that
4100+copyright holder, and you cure the violation prior to 30 days after
4101+your receipt of the notice.
4102+
4103+ Termination of your rights under this section does not terminate the
4104+licenses of parties who have received copies or rights from you under
4105+this License. If your rights have been terminated and not permanently
4106+reinstated, you do not qualify to receive new licenses for the same
4107+material under section 10.
4108+
4109+ 9. Acceptance Not Required for Having Copies.
4110+
4111+ You are not required to accept this License in order to receive or
4112+run a copy of the Program. Ancillary propagation of a covered work
4113+occurring solely as a consequence of using peer-to-peer transmission
4114+to receive a copy likewise does not require acceptance. However,
4115+nothing other than this License grants you permission to propagate or
4116+modify any covered work. These actions infringe copyright if you do
4117+not accept this License. Therefore, by modifying or propagating a
4118+covered work, you indicate your acceptance of this License to do so.
4119+
4120+ 10. Automatic Licensing of Downstream Recipients.
4121+
4122+ Each time you convey a covered work, the recipient automatically
4123+receives a license from the original licensors, to run, modify and
4124+propagate that work, subject to this License. You are not responsible
4125+for enforcing compliance by third parties with this License.
4126+
4127+ An "entity transaction" is a transaction transferring control of an
4128+organization, or substantially all assets of one, or subdividing an
4129+organization, or merging organizations. If propagation of a covered
4130+work results from an entity transaction, each party to that
4131+transaction who receives a copy of the work also receives whatever
4132+licenses to the work the party's predecessor in interest had or could
4133+give under the previous paragraph, plus a right to possession of the
4134+Corresponding Source of the work from the predecessor in interest, if
4135+the predecessor has it or can get it with reasonable efforts.
4136+
4137+ You may not impose any further restrictions on the exercise of the
4138+rights granted or affirmed under this License. For example, you may
4139+not impose a license fee, royalty, or other charge for exercise of
4140+rights granted under this License, and you may not initiate litigation
4141+(including a cross-claim or counterclaim in a lawsuit) alleging that
4142+any patent claim is infringed by making, using, selling, offering for
4143+sale, or importing the Program or any portion of it.
4144+
4145+ 11. Patents.
4146+
4147+ A "contributor" is a copyright holder who authorizes use under this
4148+License of the Program or a work on which the Program is based. The
4149+work thus licensed is called the contributor's "contributor version".
4150+
4151+ A contributor's "essential patent claims" are all patent claims
4152+owned or controlled by the contributor, whether already acquired or
4153+hereafter acquired, that would be infringed by some manner, permitted
4154+by this License, of making, using, or selling its contributor version,
4155+but do not include claims that would be infringed only as a
4156+consequence of further modification of the contributor version. For
4157+purposes of this definition, "control" includes the right to grant
4158+patent sublicenses in a manner consistent with the requirements of
4159+this License.
4160+
4161+ Each contributor grants you a non-exclusive, worldwide, royalty-free
4162+patent license under the contributor's essential patent claims, to
4163+make, use, sell, offer for sale, import and otherwise run, modify and
4164+propagate the contents of its contributor version.
4165+
4166+ In the following three paragraphs, a "patent license" is any express
4167+agreement or commitment, however denominated, not to enforce a patent
4168+(such as an express permission to practice a patent or covenant not to
4169+sue for patent infringement). To "grant" such a patent license to a
4170+party means to make such an agreement or commitment not to enforce a
4171+patent against the party.
4172+
4173+ If you convey a covered work, knowingly relying on a patent license,
4174+and the Corresponding Source of the work is not available for anyone
4175+to copy, free of charge and under the terms of this License, through a
4176+publicly available network server or other readily accessible means,
4177+then you must either (1) cause the Corresponding Source to be so
4178+available, or (2) arrange to deprive yourself of the benefit of the
4179+patent license for this particular work, or (3) arrange, in a manner
4180+consistent with the requirements of this License, to extend the patent
4181+license to downstream recipients. "Knowingly relying" means you have
4182+actual knowledge that, but for the patent license, your conveying the
4183+covered work in a country, or your recipient's use of the covered work
4184+in a country, would infringe one or more identifiable patents in that
4185+country that you have reason to believe are valid.
4186+
4187+ If, pursuant to or in connection with a single transaction or
4188+arrangement, you convey, or propagate by procuring conveyance of, a
4189+covered work, and grant a patent license to some of the parties
4190+receiving the covered work authorizing them to use, propagate, modify
4191+or convey a specific copy of the covered work, then the patent license
4192+you grant is automatically extended to all recipients of the covered
4193+work and works based on it.
4194+
4195+ A patent license is "discriminatory" if it does not include within
4196+the scope of its coverage, prohibits the exercise of, or is
4197+conditioned on the non-exercise of one or more of the rights that are
4198+specifically granted under this License. You may not convey a covered
4199+work if you are a party to an arrangement with a third party that is
4200+in the business of distributing software, under which you make payment
4201+to the third party based on the extent of your activity of conveying
4202+the work, and under which the third party grants, to any of the
4203+parties who would receive the covered work from you, a discriminatory
4204+patent license (a) in connection with copies of the covered work
4205+conveyed by you (or copies made from those copies), or (b) primarily
4206+for and in connection with specific products or compilations that
4207+contain the covered work, unless you entered into that arrangement,
4208+or that patent license was granted, prior to 28 March 2007.
4209+
4210+ Nothing in this License shall be construed as excluding or limiting
4211+any implied license or other defenses to infringement that may
4212+otherwise be available to you under applicable patent law.
4213+
4214+ 12. No Surrender of Others' Freedom.
4215+
4216+ If conditions are imposed on you (whether by court order, agreement or
4217+otherwise) that contradict the conditions of this License, they do not
4218+excuse you from the conditions of this License. If you cannot convey a
4219+covered work so as to satisfy simultaneously your obligations under this
4220+License and any other pertinent obligations, then as a consequence you may
4221+not convey it at all. For example, if you agree to terms that obligate you
4222+to collect a royalty for further conveying from those to whom you convey
4223+the Program, the only way you could satisfy both those terms and this
4224+License would be to refrain entirely from conveying the Program.
4225+
4226+ 13. Remote Network Interaction; Use with the GNU General Public License.
4227+
4228+ Notwithstanding any other provision of this License, if you modify the
4229+Program, your modified version must prominently offer all users
4230+interacting with it remotely through a computer network (if your version
4231+supports such interaction) an opportunity to receive the Corresponding
4232+Source of your version by providing access to the Corresponding Source
4233+from a network server at no charge, through some standard or customary
4234+means of facilitating copying of software. This Corresponding Source
4235+shall include the Corresponding Source for any work covered by version 3
4236+of the GNU General Public License that is incorporated pursuant to the
4237+following paragraph.
4238+
4239+ Notwithstanding any other provision of this License, you have
4240+permission to link or combine any covered work with a work licensed
4241+under version 3 of the GNU General Public License into a single
4242+combined work, and to convey the resulting work. The terms of this
4243+License will continue to apply to the part which is the covered work,
4244+but the work with which it is combined will remain governed by version
4245+3 of the GNU General Public License.
4246+
4247+ 14. Revised Versions of this License.
4248+
4249+ The Free Software Foundation may publish revised and/or new versions of
4250+the GNU Affero General Public License from time to time. Such new versions
4251+will be similar in spirit to the present version, but may differ in detail to
4252+address new problems or concerns.
4253+
4254+ Each version is given a distinguishing version number. If the
4255+Program specifies that a certain numbered version of the GNU Affero General
4256+Public License "or any later version" applies to it, you have the
4257+option of following the terms and conditions either of that numbered
4258+version or of any later version published by the Free Software
4259+Foundation. If the Program does not specify a version number of the
4260+GNU Affero General Public License, you may choose any version ever published
4261+by the Free Software Foundation.
4262+
4263+ If the Program specifies that a proxy can decide which future
4264+versions of the GNU Affero General Public License can be used, that proxy's
4265+public statement of acceptance of a version permanently authorizes you
4266+to choose that version for the Program.
4267+
4268+ Later license versions may give you additional or different
4269+permissions. However, no additional obligations are imposed on any
4270+author or copyright holder as a result of your choosing to follow a
4271+later version.
4272+
4273+ 15. Disclaimer of Warranty.
4274+
4275+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
4276+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
4277+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
4278+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
4279+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4280+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
4281+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
4282+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4283+
4284+ 16. Limitation of Liability.
4285+
4286+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
4287+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
4288+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
4289+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
4290+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
4291+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
4292+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
4293+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
4294+SUCH DAMAGES.
4295+
4296+ 17. Interpretation of Sections 15 and 16.
4297+
4298+ If the disclaimer of warranty and limitation of liability provided
4299+above cannot be given local legal effect according to their terms,
4300+reviewing courts shall apply local law that most closely approximates
4301+an absolute waiver of all civil liability in connection with the
4302+Program, unless a warranty or assumption of liability accompanies a
4303+copy of the Program in return for a fee.
4304+
4305+ END OF TERMS AND CONDITIONS
4306+
4307+ How to Apply These Terms to Your New Programs
4308+
4309+ If you develop a new program, and you want it to be of the greatest
4310+possible use to the public, the best way to achieve this is to make it
4311+free software which everyone can redistribute and change under these terms.
4312+
4313+ To do so, attach the following notices to the program. It is safest
4314+to attach them to the start of each source file to most effectively
4315+state the exclusion of warranty; and each file should have at least
4316+the "copyright" line and a pointer to where the full notice is found.
4317+
4318+ <one line to give the program's name and a brief idea of what it does.>
4319+ Copyright (C) <year> <name of author>
4320+
4321+ This program is free software: you can redistribute it and/or modify
4322+ it under the terms of the GNU Affero General Public License as published by
4323+ the Free Software Foundation, either version 3 of the License, or
4324+ (at your option) any later version.
4325+
4326+ This program is distributed in the hope that it will be useful,
4327+ but WITHOUT ANY WARRANTY; without even the implied warranty of
4328+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4329+ GNU Affero General Public License for more details.
4330+
4331+ You should have received a copy of the GNU Affero General Public License
4332+ along with this program. If not, see <http://www.gnu.org/licenses/>.
4333+
4334+Also add information on how to contact you by electronic and paper mail.
4335+
4336+ If your software can interact with users remotely through a computer
4337+network, you should also make sure that it provides a way for users to
4338+get its source. For example, if your program is a web application, its
4339+interface could display a "Source" link that leads users to an archive
4340+of the code. There are many ways you could offer source, and different
4341+solutions will be better for different programs; see section 13 for the
4342+specific requirements.
4343+
4344+ You should also get your employer (if you work as a programmer) or school,
4345+if any, to sign a "copyright disclaimer" for the program, if necessary.
4346+For more information on this, and how to apply and follow the GNU AGPL, see
4347+<http://www.gnu.org/licenses/>.
4348
4349=== added file 'l10n_ar_invoice_stock/__init__.py'
4350--- l10n_ar_invoice_stock/__init__.py 1970-01-01 00:00:00 +0000
4351+++ l10n_ar_invoice_stock/__init__.py 2014-01-20 20:26:39 +0000
4352@@ -0,0 +1,24 @@
4353+# -*- coding: utf-8 -*-
4354+##############################################################################
4355+#
4356+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
4357+# https://launchpad.net/~openerp-l10n-ar-localization
4358+#
4359+# This program is free software: you can redistribute it and/or modify
4360+# it under the terms of the GNU General Public License as published by
4361+# the Free Software Foundation, either version 3 of the License, or
4362+# (at your option) any later version.
4363+#
4364+# This program is distributed in the hope that it will be useful,
4365+# but WITHOUT ANY WARRANTY; without even the implied warranty of
4366+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4367+# GNU General Public License for more details.
4368+#
4369+# You should have received a copy of the GNU General Public License
4370+# along with this program. If not, see <http://www.gnu.org/licenses/>.
4371+#
4372+##############################################################################
4373+
4374+import stock
4375+
4376+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
4377
4378=== added file 'l10n_ar_invoice_stock/__openerp__.py'
4379--- l10n_ar_invoice_stock/__openerp__.py 1970-01-01 00:00:00 +0000
4380+++ l10n_ar_invoice_stock/__openerp__.py 2014-01-20 20:26:39 +0000
4381@@ -0,0 +1,41 @@
4382+# -*- coding: utf-8 -*-
4383+##############################################################################
4384+#
4385+# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
4386+# https://launchpad.net/~openerp-l10n-ar-localization
4387+#
4388+# This program is free software: you can redistribute it and/or modify
4389+# it under the terms of the GNU General Public License as published by
4390+# the Free Software Foundation, either version 3 of the License, or
4391+# (at your option) any later version.
4392+#
4393+# This program is distributed in the hope that it will be useful,
4394+# but WITHOUT ANY WARRANTY; without even the implied warranty of
4395+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4396+# GNU General Public License for more details.
4397+#
4398+# You should have received a copy of the GNU General Public License
4399+# along with this program. If not, see <http://www.gnu.org/licenses/>.
4400+#
4401+##############################################################################
4402+{ 'active': False,
4403+ 'author': 'OpenERP - Team de Localizaci\xc3\xb3n Argentina',
4404+ 'category': 'Localization/Argentina',
4405+ 'demo_xml': [],
4406+ 'depends': [
4407+ 'l10n_ar_invoice',
4408+ 'stock'],
4409+ 'description': 'Modulo que integra l10n_ar_invoice y stock. Permite asignación automatica de diario al crear una factura desde un picking',
4410+ 'init_xml': [],
4411+ 'installable': True,
4412+ 'auto_install': True,
4413+ 'license': 'AGPL-3',
4414+ 'name': 'Argentina - Asignación automática de Diarios desde Picking',
4415+ 'test': [
4416+ ],
4417+ 'update_xml': [
4418+ 'wizard/stock_inventory_merge_view.xml',
4419+ ],
4420+ 'version': '2.7.232',
4421+ 'website': 'https://launchpad.net/~openerp-l10n-ar-localization'}
4422+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
4423
4424=== added directory 'l10n_ar_invoice_stock/data'
4425=== added directory 'l10n_ar_invoice_stock/i18n'
4426=== added directory 'l10n_ar_invoice_stock/report'
4427=== added directory 'l10n_ar_invoice_stock/security'
4428=== added file 'l10n_ar_invoice_stock/stock.py'
4429--- l10n_ar_invoice_stock/stock.py 1970-01-01 00:00:00 +0000
4430+++ l10n_ar_invoice_stock/stock.py 2014-01-20 20:26:39 +0000
4431@@ -0,0 +1,81 @@
4432+# -*- coding: utf-8 -*-
4433+##############################################################################
4434+#
4435+# OpenERP, Open Source Management Solution
4436+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
4437+#
4438+# This program is free software: you can redistribute it and/or modify
4439+# it under the terms of the GNU Affero General Public License as
4440+# published by the Free Software Foundation, either version 3 of the
4441+# License, or (at your option) any later version.
4442+#
4443+# This program is distributed in the hope that it will be useful,
4444+# but WITHOUT ANY WARRANTY; without even the implied warranty of
4445+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4446+# GNU Affero General Public License for more details.
4447+#
4448+# You should have received a copy of the GNU Affero General Public License
4449+# along with this program. If not, see <http://www.gnu.org/licenses/>.
4450+#
4451+##############################################################################
4452+
4453+from datetime import datetime
4454+from dateutil.relativedelta import relativedelta
4455+import time
4456+from operator import itemgetter
4457+from itertools import groupby
4458+
4459+from openerp.osv import fields, osv, orm
4460+from openerp.tools.translate import _
4461+from openerp import netsvc
4462+from openerp import tools
4463+from openerp.tools import float_compare, DEFAULT_SERVER_DATETIME_FORMAT
4464+import openerp.addons.decimal_precision as dp
4465+import logging
4466+_logger = logging.getLogger(__name__)
4467+
4468+class stock_picking(osv.osv):
4469+ _inherit = "stock.picking"
4470+
4471+ def _prepare_invoice(self, cr, uid, picking, partner, inv_type, journal_id, context=None):
4472+ """ Builds the dict containing the values for the invoice
4473+ @param picking: picking object
4474+ @param partner: object of the partner to invoice
4475+ @param inv_type: type of the invoice ('out_invoice', 'in_invoice', ...)
4476+ @param journal_id: ID of the accounting journal
4477+ @return: dict that will be used to create the invoice object
4478+ """
4479+
4480+ if context is None:
4481+ context = {}
4482+
4483+ invoice_obj = self.pool.get('account.invoice')
4484+
4485+ invoice_vals = super(stock_picking,self)._prepare_invoice(cr, uid, picking, partner, inv_type, journal_id, context=context)
4486+
4487+ if inv_type == 'in_invoice':
4488+ journal_type = 'purchase'
4489+ elif inv_type == 'in_refund':
4490+ journal_type = 'purchase_refund'
4491+ elif inv_type == 'out_invoice':
4492+ journal_type = 'sale'
4493+ elif inv_type == 'out_refund':
4494+ journal_type = 'sale_refund'
4495+
4496+ partner_id = invoice_vals.get('partner_id' or False)
4497+ company_id = invoice_vals.get('company_id' or False)
4498+ journal_type = 'sale'
4499+
4500+ journal_ids = False
4501+ journal_id = False
4502+
4503+ if company_id and partner_id:
4504+ journal_ids = invoice_obj.get_valid_journals(cr, uid, partner_id, journal_type, is_debit_note=False, company_id=company_id)
4505+
4506+ if journal_ids:
4507+ journal_id = journal_ids[0]
4508+
4509+ invoice_vals['journal_id'] = journal_id
4510+
4511+ return invoice_vals
4512+
4513
4514=== added directory 'l10n_ar_invoice_stock/test'
4515=== added directory 'l10n_ar_invoice_stock/view'
4516=== added directory 'l10n_ar_invoice_stock/wizard'
4517=== added file 'l10n_ar_invoice_stock/wizard/__init__.py'
4518=== added file 'l10n_ar_invoice_stock/wizard/stock_inventory_merge_view.xml'
4519--- l10n_ar_invoice_stock/wizard/stock_inventory_merge_view.xml 1970-01-01 00:00:00 +0000
4520+++ l10n_ar_invoice_stock/wizard/stock_inventory_merge_view.xml 2014-01-20 20:26:39 +0000
4521@@ -0,0 +1,16 @@
4522+<?xml version="1.0"?>
4523+<openerp>
4524+ <data>
4525+ <record id="view_stock_invoice_onshipping" model="ir.ui.view">
4526+ <field name="name">Stock Invoice Onshipping</field>
4527+ <field name="model">stock.invoice.onshipping</field>
4528+ <field name="inherit_id" ref="stock.view_stock_invoice_onshipping"/>
4529+ <field name="arch" type="xml">
4530+ <!-- We hide this field because it is choosen accordly the partner -->
4531+ <field name="journal_id" position="attributes">
4532+ <attribute name="invisible">True</attribute>
4533+ </field>
4534+ </field>
4535+ </record>
4536+ </data>
4537+</openerp>
4538
4539=== added directory 'l10n_ar_pyafipws'
4540=== added file 'l10n_ar_pyafipws/__init__.py'
4541--- l10n_ar_pyafipws/__init__.py 1970-01-01 00:00:00 +0000
4542+++ l10n_ar_pyafipws/__init__.py 2014-01-20 20:26:39 +0000
4543@@ -0,0 +1,4 @@
4544+import authentication
4545+import journal
4546+import electronic_invoice
4547+
4548
4549=== added file 'l10n_ar_pyafipws/__openerp__.py'
4550--- l10n_ar_pyafipws/__openerp__.py 1970-01-01 00:00:00 +0000
4551+++ l10n_ar_pyafipws/__openerp__.py 2014-01-20 20:26:39 +0000
4552@@ -0,0 +1,17 @@
4553+{
4554+ "name": "PyAfipWs - Argentina AFIP Webservices", #
4555+ "version": "1.0",
4556+ "author": "Mariano Reingart / Sistemas �giles",
4557+ "description": "Autenticación, Facturación Electrónica y otros servicios",
4558+ "license": "AGPL-3",
4559+ "website": "http://www.sistemasagiles.com.ar/",
4560+ "category": "Localization/America/Argentina",
4561+ "depends": ["base","sale","account","crm"],
4562+ "init_xml": [],
4563+ "demo_xml": [],
4564+ "update_xml": ["data/res_company_view.xml",
4565+ "data/account_journal_view.xml",
4566+ "data/account_invoice_view.xml",
4567+ ],
4568+ "active": False
4569+}
4570
4571=== added file 'l10n_ar_pyafipws/afip_auth.py'
4572--- l10n_ar_pyafipws/afip_auth.py 1970-01-01 00:00:00 +0000
4573+++ l10n_ar_pyafipws/afip_auth.py 2014-01-20 20:26:39 +0000
4574@@ -0,0 +1,110 @@
4575+#!/usr/bin/python
4576+# -*- coding: utf-8 -*-
4577+# This program is free software; you can redistribute it and/or modify
4578+# it under the terms of the Affero GNU General Public License as published by
4579+# the Software Foundation; either version 3, or (at your option) any later
4580+# version.
4581+#
4582+# This program is distributed in the hope that it will be useful, but
4583+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
4584+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4585+# for more details.
4586+#
4587+# Copyright 2013 by
4588+# Based on code "factura_electronica" by Luis Falcon (GPLv3)
4589+# Based on code by "openerp-iva-argentina" by Gerardo Allende / Daniel Blanco
4590+
4591+"Authentication functions for Argentina's Federal Tax Agency (AFIP) webservices"
4592+
4593+__author__ = "Mariano Reingart (reingart@gmail.com)"
4594+__copyright__ = "Copyright (C) 2013 Mariano Reingart and others"
4595+__license__ = "AGPL 3.0"
4596+
4597+# Están muchos valores de importe con valor absoluto, puesto que el CAE
4598+# en AFIP no acepta valores negativos.
4599+
4600+import hashlib
4601+import time
4602+import os
4603+import sys
4604+import traceback
4605+
4606+
4607+DEFAULT_TTL = 60*60*5 # five hours
4608+WSAA_URL = "" # change to production server (testing default)
4609+PROXY = "" # proxy credentials and host
4610+CACHE = "" # cache folder path, use default
4611+DEBUG = False
4612+
4613+
4614+def authenticate(service, certificate, private_key, force=False,
4615+ cache=CACHE, wsdl=WSAA_URL, proxy=PROXY, ):
4616+ "Call AFIP Authentication webservice to get token & sign or error message"
4617+
4618+ # import AFIP webservice authentication helper:
4619+ from pyafipws.wsaa import WSAA
4620+
4621+ # create AFIP webservice authentication helper instance:
4622+ wsaa = WSAA()
4623+ wsaa.LanzarExcepciones = True # raise python exceptions on any failure
4624+
4625+ # make md5 hash of the parameter for caching...
4626+ fn = "%s.xml" % hashlib.md5(service + certificate + private_key).hexdigest()
4627+ if cache:
4628+ fn = os.path.join(cache, fn)
4629+ else:
4630+ fn = os.path.join(wsaa.InstallDir, "cache", fn)
4631+
4632+ try:
4633+ # read the access ticket (if already authenticated)
4634+ if not os.path.exists(fn) or \
4635+ os.path.getmtime(fn)+(DEFAULT_TTL) < time.time():
4636+ # access ticket (TA) outdated, create new access request ticket (TRA)
4637+ tra = wsaa.CreateTRA(service=service, ttl=DEFAULT_TTL)
4638+ # cryptographically sing the access ticket
4639+ cms = wsaa.SignTRA(tra, certificate, private_key)
4640+ # connect to the webservice:
4641+ wsaa.Conectar(cache, wsdl, proxy)
4642+ # call the remote method
4643+ ta = wsaa.LoginCMS(cms)
4644+ if not ta:
4645+ raise RuntimeError()
4646+ # write the access ticket for further consumption
4647+ open(fn, "w").write(ta)
4648+ else:
4649+ # get the access ticket from the previously written file
4650+ ta = open(fn, "r").read()
4651+ # analyze the access ticket xml and extract the relevant fields
4652+ wsaa.AnalizarXml(xml=ta)
4653+ token = wsaa.ObtenerTagXml("token")
4654+ sign = wsaa.ObtenerTagXml("sign")
4655+ err_msg = None
4656+ except:
4657+ token = sign = None
4658+ if wsaa.Excepcion:
4659+ # get the exception already parsed by the helper
4660+ err_msg = wsaa.Excepcion
4661+ else:
4662+ # avoid encoding problem when reporting exceptions to the user:
4663+ err_msg = traceback.format_exception_only(sys.exc_type,
4664+ sys.exc_value)[0]
4665+ if DEBUG:
4666+ raise
4667+ return {'token': token, 'sign': sign, 'err_msg': err_msg}
4668+
4669+
4670+if __name__ == '__main__':
4671+ # basic tests:
4672+ reingart_crt = open("./pyafipws/reingart.crt").read()
4673+ reingart_key = open("./pyafipws/reingart.key").read()
4674+ auth_data = authenticate("wsfe", reingart_crt, reingart_key, force=True)
4675+ print auth_data
4676+ assert auth_data['token']
4677+ assert auth_data['sign']
4678+ old_token = auth_data['token']
4679+ auth_data = authenticate("wsfe", reingart_crt, reingart_key, force=True)
4680+ assert auth_data['token'] == old_token
4681+ import base64
4682+ print base64.b64decode(auth_data['token'])
4683+ print "ok."
4684+
4685
4686=== added file 'l10n_ar_pyafipws/authentication.py'
4687--- l10n_ar_pyafipws/authentication.py 1970-01-01 00:00:00 +0000
4688+++ l10n_ar_pyafipws/authentication.py 2014-01-20 20:26:39 +0000
4689@@ -0,0 +1,95 @@
4690+#!/usr/bin/python
4691+# -*- coding: utf-8 -*-
4692+# This program is free software; you can redistribute it and/or modify
4693+# it under the terms of the Affero GNU General Public License as published by
4694+# the Software Foundation; either version 3, or (at your option) any later
4695+# version.
4696+#
4697+# This program is distributed in the hope that it will be useful, but
4698+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
4699+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4700+# for more details.
4701+#
4702+# Copyright 2013 by Mariano Reingart
4703+# Based on code "factura_electronica" by Luis Falcon
4704+# Based on code "openerp-iva-argentina" by Gerardo Allende / Daniel Blanco
4705+# Based on code "l10n_ar_wsafip" by OpenERP - Team de Localización Argentina
4706+
4707+"Credentials for Argentina Federal Tax Administration (AFIP) webservices"
4708+
4709+__author__ = "Mariano Reingart (reingart@gmail.com)"
4710+__copyright__ = "Copyright (C) 2013 Mariano Reingart and others"
4711+__license__ = "AGPL 3.0+"
4712+
4713+from osv import fields, osv
4714+try:
4715+ from openerp.tools.translate import _
4716+except:
4717+ _ = str
4718+
4719+DEBUG = True
4720+
4721+
4722+class company_pyafipws_credentials(osv.osv):
4723+ _name = "res.company"
4724+ _inherit = "res.company"
4725+ _columns = {
4726+ 'pyafipws_cuit': fields.char('CUIT AFIP WS', size=15,
4727+ help="CUIT de la empresa habilitado para operar webservices AFIP"),
4728+ 'pyafipws_certificate': fields.text('Certificado AFIP WS',
4729+ help="Certificado (.crt) de la empresa para webservices AFIP"),
4730+ 'pyafipws_private_key': fields.text('Clave Privada AFIP WS',
4731+ help="Clave Privada (.key) de la empresa para webservices AFIP"),
4732+ }
4733+
4734+ def pyafipws_authenticate(self, cr, uid, ids, context=None, service="wsfe"):
4735+ "Authenticate against AFIP, returns token, sign, err_msg (dict)"
4736+ import afip_auth
4737+ auth_data = {}
4738+ for company in self.browse(cr, uid, ids):
4739+ # get the authentication credentials:
4740+ certificate = str(company.pyafipws_certificate)
4741+ private_key = str(company.pyafipws_private_key)
4742+ # create the proxy and get the configuration system parameters:
4743+ cfg = self.pool.get('ir.config_parameter')
4744+ cache = cfg.get_param(cr, uid, 'pyafipws.cache', context=context)
4745+ proxy = cfg.get_param(cr, uid, 'pyafipws.proxy', context=context)
4746+ wsdl = cfg.get_param(cr, uid, 'pyafipws.wsaa.url', context=context)
4747+ # call the helper function to obtain the access ticket:
4748+ auth = afip_auth.authenticate(service, certificate, private_key,
4749+ cache=cache or "", wsdl=wsdl or "",
4750+ proxy=proxy or "")
4751+ auth_data.update(auth)
4752+ return auth_data
4753+
4754+ def test_pyafipws_authentication(self, cr, uid, ids, context=None):
4755+ auth_data = self.pyafipws_authenticate(cr, uid, ids)
4756+ #self.log(cr, uid, ids[0], "test_afip_auth: %s" % auth_data)
4757+ from base64 import b64decode
4758+ if auth_data['token']:
4759+ msg = b64decode(auth_data['token'])
4760+ raise osv.except_osv(_("OK"), msg)
4761+ else:
4762+ msg = auth_data['err_msg']
4763+ raise osv.except_osv(_("ERROR"), msg)
4764+ return {}
4765+
4766+
4767+company_pyafipws_credentials()
4768+
4769+
4770+if __name__ == "__main__":
4771+ # basic tests:
4772+ from osv import cursor
4773+ mycompany = company_pyafipws_credentials()
4774+ auth_data = mycompany.pyafipws_authenticate(cursor(), None, [1], service="wsfe")
4775+ print auth_data
4776+ assert auth_data['token']
4777+ assert auth_data['sign']
4778+ old_token = auth_data['token']
4779+ auth_data = mycompany.pyafipws_authenticate(cursor(), None, [1], service="wsfe")
4780+ assert auth_data['token'] == old_token
4781+ ta = mycompany.test_pyafipws_authentication(cursor(), None, [1])
4782+ print ta
4783+ print "ok."
4784+
4785
4786=== added directory 'l10n_ar_pyafipws/data'
4787=== added file 'l10n_ar_pyafipws/data/account_invoice_view.xml'
4788--- l10n_ar_pyafipws/data/account_invoice_view.xml 1970-01-01 00:00:00 +0000
4789+++ l10n_ar_pyafipws/data/account_invoice_view.xml 2014-01-20 20:26:39 +0000
4790@@ -0,0 +1,54 @@
4791+<?xml version="1.0" encoding="utf-8" ?>
4792+<openerp>
4793+ <data>
4794+ <record model="ir.ui.view" id="account_invoice_form">
4795+ <field name="name">account.invoice.form</field>
4796+ <field name="model">account.invoice</field>
4797+ <field name="inherit_id" ref="account.invoice_form" />
4798+ <field name="type">form</field>
4799+ <field name="arch" type="xml">
4800+ <notebook>
4801+ <page string="Factura Electronica Argentina">
4802+ <group col="8" colspan="4">
4803+ <field name="pyafipws_concept"/>
4804+ <field name="pyafipws_billing_start_date"/>
4805+ <field name="pyafipws_billing_end_date"/>
4806+ <field name="pyafipws_incoterms"/>
4807+ </group>
4808+ <group col="6" colspan="3">
4809+ <field name="pyafipws_result"></field>
4810+ <field name="pyafipws_cae"></field>
4811+ <field name="pyafipws_cae_due_date"></field>
4812+ </group>
4813+ <group col="2" colspan="1">
4814+ <button name="do_pyafipws_request_cae"
4815+ string="Obtener CAE" type="object"/>
4816+ <button name="do_pyafipws_validate_cae"
4817+ string="Verificar CAE" type="object"/>
4818+ </group>
4819+ <group col="2" colspan="4">
4820+ <field name="pyafipws_message"></field>
4821+ </group>
4822+ <group col="1" colspan="4">
4823+ <field name="pyafipws_barcode_img"
4824+ img_width="370" img_height="30"
4825+ width="370" height="30" widget="image"
4826+ nolabel="1"/>
4827+ </group>
4828+ </page>
4829+ </notebook>
4830+ </field>
4831+ </record>
4832+ <record id="account.act_open" model="workflow.activity">
4833+ <field name="wkf_id" ref="account.wkf"/>
4834+ <field name="name">open</field>
4835+ <field name="action">action_date_assign()
4836+action_move_create()
4837+action_number()
4838+action_pyafipws_request_cae()
4839+write({'state':'open'})</field>
4840+ <field name="kind">function</field>
4841+ </record>
4842+ </data>
4843+</openerp>
4844+
4845
4846=== added file 'l10n_ar_pyafipws/data/account_journal_view.xml'
4847--- l10n_ar_pyafipws/data/account_journal_view.xml 1970-01-01 00:00:00 +0000
4848+++ l10n_ar_pyafipws/data/account_journal_view.xml 2014-01-20 20:26:39 +0000
4849@@ -0,0 +1,32 @@
4850+<?xml version="1.0" encoding="utf-8" ?>
4851+<openerp>
4852+ <data>
4853+ <record model="ir.ui.view" id="view_account_journal_pyafipws_form">
4854+ <field name="name">account.journal.afip.form</field>
4855+ <field name="model">account.journal</field>
4856+ <field name="inherit_id" ref="account.view_account_journal_form" />
4857+ <field name="type">form</field>
4858+ <field name="arch" type="xml">
4859+ <notebook>
4860+ <page string="Argentina AFIP Webservices">
4861+ <group col="2" colspan="3">
4862+ <field name="pyafipws_electronic_invoice_service"/>
4863+ <field name="pyafipws_invoice_type"></field>
4864+ <field name="pyafipws_point_of_sale"></field>
4865+ <!---field name="pyafipws_last_invoice_number" /-->
4866+ </group>
4867+ <group col="1" colspan="1">
4868+ <button name="test_pyafipws_dummy"
4869+ string="Test Dummy" type="object"/>
4870+ <button name="test_pyafipws_point_of_sales"
4871+ string="Verificar Ptos. Vta." type="object"/>
4872+ <button name="get_pyafipws_last_invoice"
4873+ string="Obtener Último N°" type="object"/>
4874+ </group>
4875+ </page>
4876+ </notebook>
4877+ </field>
4878+ </record>
4879+ </data>
4880+</openerp>
4881+
4882
4883=== added file 'l10n_ar_pyafipws/data/desktop.ini'
4884--- l10n_ar_pyafipws/data/desktop.ini 1970-01-01 00:00:00 +0000
4885+++ l10n_ar_pyafipws/data/desktop.ini 2014-01-20 20:26:39 +0000
4886@@ -0,0 +1,5 @@
4887+[.ShellClassInfo]
4888+InfoTip=Esta carpeta se ha compartido online.
4889+IconFile=D:\Program Files\Google\Drive\googledrivesync.exe
4890+IconIndex=12
4891+
4892\ No newline at end of file
4893
4894=== added file 'l10n_ar_pyafipws/data/res_company_view.xml'
4895--- l10n_ar_pyafipws/data/res_company_view.xml 1970-01-01 00:00:00 +0000
4896+++ l10n_ar_pyafipws/data/res_company_view.xml 2014-01-20 20:26:39 +0000
4897@@ -0,0 +1,25 @@
4898+<?xml version="1.0" encoding="utf-8" ?>
4899+<openerp>
4900+ <data>
4901+ <record model="ir.ui.view" id="view_company_form">
4902+ <field name="name">res.company.form</field>
4903+ <field name="model">res.company</field>
4904+ <field name="inherit_id" ref="base.view_company_form" />
4905+ <field name="type">form</field>
4906+ <field name="arch" type="xml">
4907+ <notebook>
4908+ <page string="Argentina AFIP Webservices">
4909+ <group col="2">
4910+ <field name="pyafipws_cuit"></field>
4911+ <field name="pyafipws_certificate"></field>
4912+ <field name="pyafipws_private_key"></field>
4913+ </group>
4914+ <button name="test_pyafipws_authentication"
4915+ string="Test" type="object"/>
4916+ </page>
4917+ </notebook>
4918+ </field>
4919+ </record>
4920+ </data>
4921+</openerp>
4922+
4923
4924=== added file 'l10n_ar_pyafipws/desktop.ini'
4925--- l10n_ar_pyafipws/desktop.ini 1970-01-01 00:00:00 +0000
4926+++ l10n_ar_pyafipws/desktop.ini 2014-01-20 20:26:39 +0000
4927@@ -0,0 +1,5 @@
4928+[.ShellClassInfo]
4929+InfoTip=Esta carpeta se ha compartido online.
4930+IconFile=D:\Program Files\Google\Drive\googledrivesync.exe
4931+IconIndex=12
4932+
4933\ No newline at end of file
4934
4935=== added file 'l10n_ar_pyafipws/electronic_invoice.py'
4936--- l10n_ar_pyafipws/electronic_invoice.py 1970-01-01 00:00:00 +0000
4937+++ l10n_ar_pyafipws/electronic_invoice.py 2014-01-20 20:26:39 +0000
4938@@ -0,0 +1,441 @@
4939+#!/usr/bin/python
4940+# -*- coding: utf-8 -*-
4941+# This program is free software; you can redistribute it and/or modify
4942+# it under the terms of the Affero GNU General Public License as published by
4943+# the Software Foundation; either version 3, or (at your option) any later
4944+# version.
4945+#
4946+# This program is distributed in the hope that it will be useful, but
4947+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
4948+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4949+# for more details.
4950+#
4951+# Copyright 2013 by Mariano Reingart
4952+# Based on code "factura_electronica" by Luis Falcon
4953+# Based on code "openerp-iva-argentina" by Gerardo Allende / Daniel Blanco
4954+# Based on code "l10n_ar_wsafip_fe" by OpenERP - Team de Localización Argentina
4955+
4956+"Electronic Invoice for Argentina Federal Tax Administration (AFIP) webservices"
4957+
4958+__author__ = "Mariano Reingart (reingart@gmail.com)"
4959+__copyright__ = "Copyright (C) 2013 Mariano Reingart and others"
4960+__license__ = "AGPL 3.0+"
4961+
4962+
4963+from osv import fields, osv
4964+import os, time
4965+import datetime
4966+import decimal
4967+import os
4968+import socket
4969+import sys
4970+import traceback
4971+
4972+DEBUG = True
4973+
4974+
4975+class electronic_invoice(osv.osv):
4976+ _name = "account.invoice"
4977+ _inherit = "account.invoice"
4978+ _order = "id"
4979+ _columns = {
4980+ 'pyafipws_concept': fields.selection([
4981+ ('1','1-Productos'),
4982+ ('2','2-Servicios'),
4983+ ('3','3-Productos y Servicios (mercado interno)'),
4984+ ('4','4-Otros (exportación)'),
4985+ ], 'Concepto',
4986+ select=True, required=True,
4987+ readonly=True, states={'draft': [('readonly', False)]}),
4988+ 'pyafipws_billing_start_date': fields.date('Fecha Desde',
4989+ readonly=True, states={'draft': [('readonly', False)]},
4990+ help="Seleccionar fecha de fin de servicios - Sólo servicios"),
4991+ 'pyafipws_billing_end_date': fields.date('Fecha Hasta',
4992+ readonly=True, states={'draft': [('readonly', False)]},
4993+ help="Seleccionar fecha de inicio de servicios - Sólo servicios"),
4994+ 'pyafipws_incoterms': fields.many2one('stock.incoterms', 'INCOTERMS',
4995+ readonly=True, states={'draft': [('readonly', False)]},
4996+ help="Términos de comercio internacional (exportación)"),
4997+ 'pyafipws_result': fields.selection([
4998+ ('', 'n/a'),
4999+ ('A', 'Aceptado'),
5000+ ('R', 'Rechazado'),
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches