Commit Graph
17 Commits
Author SHA1 Message Date
fw-bot 1c77b833d6 Cherry pick of 2b65a7c111232d31d5113565bb6a114486f0123c failed
stdout:

stderr:

closes odoo/odoo#58605

Error: could not apply 2b65a7c1112... [IMP] l10n_ar: Accounting Tour adaptation
Hint: after resolving the conflicts, mark the corrected paths
Hint: with 'git add <paths>' or 'git rm <paths>'
Hint: and commit the result with 'git commit'
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-09-29 13:46:59 +00:00
Katherine Zaoral 1931a22835 [IMP] l10n_ar: Argentinean invoice report
Port foward from 13.0 branch. Also update the _get_name_invoice_report()
method to match the one in account module.

Also update the name of payment field that has been change in master version

* o.invoice_payment_ref is now o.payment_reference
2020-08-17 14:09:18 +00:00
fw-bot 600a1da6c3 [ADD] l10n_ar: add moved methods from l10n_ar_edi
This method will be change to generic and to be use for both
l10n_ar_edi and l10n_ar_reports modules

fw-port of 50882

closes odoo/odoo#55687

Related: odoo/enterprise#12329
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-10 13:48:57 +00:00
Katherine Zaoral d167dc201b [FIX] l10n_ar: depreacated post to action_post
Change references of deprecated method in demo data to avoid WARNING message in
odoo log::

    ... WARNING ar py.warnings: ... DeprecationWarning: RedirectWarning
    method 'post()' is a deprecated alias to 'action_post()' or _post()
    DeprecationWarning

closes odoo/odoo#55647

Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-07 21:00:36 +00:00
Katherine Zaoral c765bce768 [IMP] l10n_ar: adapt code to remove sequences
* remove logic of sequences in invoices and use new logic to make it work
* add logic do to not let the user to change the pos number in the document number
* update translations
2020-04-01 16:49:04 +00:00
Ravi Gohil e34735f709 [FIX] l10n_ar: fix invalid demo invoice number
closes odoo/odoo#47223

Task: 2210808
X-original-commit: 85116b9e899caff0bf0692097656740909e45b74
Related: odoo/enterprise#9122
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-03-09 15:50:39 +00:00
Ankita Raval d675dbaa4c [IMP] account,* : Change type field to move_type in account.move
task-id: 2028z813
2020-02-19 09:09:20 +00:00
wan dfd01b8c5c [IMP] account: rework name sequences
Task 2146469

Rework the name computation:
* It doesn't use ir.sequence anymore
* It is an editable computed field
* Add a renaming tool

This allows the user to tweak the sequences more easily than having to
get through the ir.sequence settings.

The sequence depends on a parameter of the journal: continuous, montly
and yearly restart of the sequence. Everytime a new period is started,
try to make a pattern form another period.

The incrementing is done by taking the previous name, ordered
lexicographically, splitting it by taking the digits at the end, adding
1 and re contstruct with the prefix.

** This means there could be cases where the prefix has a big importance
on the next number. For instance, if you have
INVOICE/2019/0001
INVOICE/2019/0002
and then rename the last one to INV/2019/0002, don't expect the next
number to be INV/2019/0003. It will be INVOICE/2019/0002 (again) because
the highest number was INVOICE/2019/0001.
You will then end up with
INVOICE/2019/0001
INV/2019/0002
INVOICE/2019/0002

closes odoo/odoo#41485

Related: odoo/enterprise#7189
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-02-05 13:59:43 +00:00
Katherine Zaoral 65c9945bd8 [FIX] l10n_ar: Exportation invoices demo data
The exportation invoices demo data was created in the "Sales Journal" journal instead of the "Exportation Sales Journal". To fix this we have added the xml id of the journal explictly to fix this.

closes odoo/odoo#43329

X-original-commit: 4ab91233d64990cd9991d2f8c4fb1ba4a1a51a67
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-01-15 10:36:07 +00:00
Katherine Zaoral cb97a92e42 [FIX] l10n_ar: Fix responsibility of Foreign partner
The Foreign partner used in demo data was wrognly configure, it was set as "IVA Responsable Inscripto" when actually should be "Cliente / Provedor del Exterior".

After fix this in demo we updated the demo data of the vendor bills of this partner to match with the new responsibility.

Also apply and imporve in the way we are setting the fiscal position in the demo invoices, now qw use the onchange instead of setting the fiscal position explicitly in the demo invoices (and removed commented demo data that is not used)

closes odoo/odoo#43301

X-original-commit: 23e2824794b64624c8dbb1b8132d443657781830
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-01-14 17:01:09 +00:00
Katherine Zaoral 709063442e [ADD] l10n_ar: add demo data for mipyme partner
This will be use to make testing of the MiPyme FCE document types

closes odoo/odoo#43080

X-original-commit: 4365bd25512082bfd70229272c7248720f0383ca
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-01-09 15:34:52 +00:00
Katherine Zaoral 8802709b26 [ADD] l10n_ar: add demo date for bank accounts
This is usefull for tests invoicing cases.

closes odoo/odoo#42169

X-original-commit: 32b443752dd0fb1ceda3e05da0d878bf908ebf8a
Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-12-17 16:08:45 +00:00
wan 21c653ecda [FIX] l10n_ar: missing adaptation for changes in move reversal
Commit 2106dd3cd1 changed the model of
account.move.reversal but didn't change the demo data of l10n_ar

X-original-commit: ea4bfe662c4a9f5a033712ed3e4d17e9e8252ca0
2019-12-19 10:11:18 +00:00
Katherine Zaoral e32e73dbbe [ADD] l10n_ar: add new CUIT number to Reponsable Inscripto demo company
closes odoo/odoo#39394

X-original-commit: dc3025da4d176d8270d12849b286bf788e78b22f
Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-10-25 15:24:44 +00:00
Katherine Zaoral 8de9ce5f7a [FIX] l10n_ar: data and demo data
- AFIP code in UOMS saved as char
- fix missing account_id in demo data
- Remove demo data that was throwing error
- merge res country data to csv file.
- move res currency AFIP code data to csv file

closes odoo/odoo#37457

Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-09-30 15:02:00 +00:00
Katherine Zaoral a9b7628706 [REF] l10n_ar, l10n_latam_base, l10n_latam_invoice_document: adjustments
l10n_latam_base:

* update translations
* extend manifest
* update manifest, delete new menus/fields/models from manifest

l10n_latam_invoice_document:

* update translations
* remove filter journals for recipts
* make method private
* extend manifest
* update manifest, delete new menus/fields/models from manifest
* misspelling error in ValidationError
* fixup missing change apply before merge/rebase

l10n_ar:

* make method private
* update translations
* catch error when stdnum.ar.format
* fiscal position with criteria diff from Responsibility
* Install AR CoA now set properly the company values.
* add meaning of CUIT when mentioned in code.
* unse a simplier elif and less conditions to evaluate
* only get concept for invoice lines that are not section/note
* remove TODO comments, this will be not implemented in this version
* update to sincular al the AFIP POS System options
* return match responsability type directly
* improve of manifest
* reference to tax group
* remove old not used file fot tax report
* update comments from spanish to english
* only set afip serive date when post the account.move
* unused file
* sum recordsets instead of union
* method name and remove log
* update manifest, delete new menus/fields/models from manifest
* Simply extra steps when loading AR COA: check directly
  get_ar_responsibility_match in order to apply the extra verifications
  and the extra configs in the company
* update demo refences to new demo for odoo
* return missing fix about _l10n_ar_create_document_sequences
* fixup missing change apply before merge/rebase
* set journal data as no update data.

closes odoo/odoo#36137

Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-09-13 15:22:13 +00:00
Katherine Zaoral ebe291560a [IMP] l10n_ar: complete refactor of Argentinian localization
Now, it depends on l10n_latam_base for the identification
types and on l10n_latam_invoice_document for the invoice
numbering.

It is the AFIP responsibility on the partner that
determines the document type.

There are also 3 demo companies for the most important
responsibility types for yourself.
2019-08-23 14:27:33 +00:00