Merge lp:~vauxoo/openerp-mexico-localization/7.0_oml_imp_xmlid_in_test_cfdi_dev_jorge into lp:openerp-mexico-localization/7.0

Status: Merged
Merged at revision: 324
Proposed branch: lp:~vauxoo/openerp-mexico-localization/7.0_oml_imp_xmlid_in_test_cfdi_dev_jorge
Merge into: lp:openerp-mexico-localization/7.0
Diff against target: 21 lines (+2/-2)
1 file modified
l10n_mx_facturae_pac_sf/test/account_invoice_cfdi_pac_sf.yml (+2/-2)
To merge this branch: bzr merge lp:~vauxoo/openerp-mexico-localization/7.0_oml_imp_xmlid_in_test_cfdi_dev_jorge
Reviewer Review Type Date Requested Status
Isaac López Zúñiga Pending
Moisés López - http://www.vauxoo.com Pending
Jorge Angel Naranjo Rogel - http://www.vauxoo.com Pending
Review via email: mp+194382@code.launchpad.net

Description of the change

Se agrega la referencia al xml_id del journal para posteriormente utilizarla en el test yaml de facturae para el servidor assa

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_mx_facturae_pac_sf/test/account_invoice_cfdi_pac_sf.yml'
2--- l10n_mx_facturae_pac_sf/test/account_invoice_cfdi_pac_sf.yml 2013-09-20 23:25:17 +0000
3+++ l10n_mx_facturae_pac_sf/test/account_invoice_cfdi_pac_sf.yml 2013-11-07 17:02:49 +0000
4@@ -4,7 +4,7 @@
5 I check that Journal is cfdi_pac_sf
6 -
7 !assert {model: account.invoice, id: account_invoice_cfdi_pac_sf0}:
8- - journal_id.id == ref("l10n_mx_cfdi_pac_sf_journal_0")
9+ - journal_id.id == ref("l10n_mx_facturae_pac_sf.l10n_mx_cfdi_pac_sf_journal_0")
10 -
11 I check that Initially customer invoice state is "Draft"
12 -
13@@ -132,7 +132,7 @@
14 I added update_posted in journal
15 -
16 !python {model: account.journal}: |
17- journal_id = self.browse(cr, uid, ref("l10n_mx_cfdi_pac_sf_journal_0"))
18+ journal_id = self.browse(cr, uid, ref("l10n_mx_facturae_pac_sf.l10n_mx_cfdi_pac_sf_journal_0"))
19 self.write(cr, uid, journal_id.id, {'update_posted': True})
20 -
21 I generate a cancel l10n_mx attachment facturae cfdi_pac_sf by clicking on cancel button