Merge lp:~vauxoo/openerp-venezuela-localization/warning_messages into lp:openerp-venezuela-localization

Status: Superseded
Proposed branch: lp:~vauxoo/openerp-venezuela-localization/warning_messages
Merge into: lp:openerp-venezuela-localization
Diff against target: 97 lines (+12/-7)
6 files modified
l10n_ve_split_invoice/test/spl_test.yml (+4/-1)
l10n_ve_vat_write_off/__openerp__.py (+1/-1)
l10n_ve_withholding_islr/view/installer.xml (+1/-2)
l10n_ve_withholding_iva/model/generate_txt.py (+3/-1)
l10n_ve_withholding_iva/view/generate_txt_view.xml (+2/-1)
ovl/__openerp__.py (+1/-1)
To merge this branch: bzr merge lp:~vauxoo/openerp-venezuela-localization/warning_messages

This proposal has been superseded by a proposal from 2014-02-19.

Commit message

[FIX] Solved warning messages.

To post a comment you must log in.
977. By Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com

[FIX] Remove the invlid attribute in the action

978. By Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com

[FIX] When we call to signal in workflow we send the record id not a list o ids

979. By Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com

[IMP] When we call the read method this brings a serie of key, between these keys comes the id, and this key can't be used to use the create and write functions is why that we need to remove this key of the dictionary

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_ve_split_invoice/test/spl_test.yml'
2--- l10n_ve_split_invoice/test/spl_test.yml 2013-09-18 21:57:53 +0000
3+++ l10n_ve_split_invoice/test/spl_test.yml 2014-02-19 03:06:03 +0000
4@@ -116,7 +116,10 @@
5 -
6 1.8 I create invoice by clicking on Create button
7 -
8- !workflow {model: account.invoice, action: invoice_open, ref: spl_test01}
9+ !python {model: account.invoice}: |
10+ import netsvc
11+ wf_service = netsvc.LocalService("workflow")
12+ wf_service.trg_validate(uid, 'account.invoice', [ref("spl_test01")], 'invoice_open', cr)
13 -
14 1.9 I check that Initially customer invoice is in the "Draft" state
15 -
16
17=== modified file 'l10n_ve_vat_write_off/__openerp__.py'
18--- l10n_ve_vat_write_off/__openerp__.py 2013-11-18 22:02:09 +0000
19+++ l10n_ve_vat_write_off/__openerp__.py 2014-02-19 03:06:03 +0000
20@@ -13,6 +13,6 @@
21 "view/l10n_ve_vat_write_off.xml",
22 ],
23 "active": False,
24- "installable": True,
25+ "installable": False,
26 }
27
28
29=== modified file 'l10n_ve_withholding_islr/view/installer.xml'
30--- l10n_ve_withholding_islr/view/installer.xml 2013-05-23 04:34:03 +0000
31+++ l10n_ve_withholding_islr/view/installer.xml 2014-02-19 03:06:03 +0000
32@@ -54,9 +54,8 @@
33 <!-- register configuration wizard -->
34 <record id="config_wizard_step_wh_islr" model="ir.actions.todo">
35 <field name="action_id" ref="action_config_wh_islr"/>
36- <field name="restart">always</field>
37 <field name="sequence">45</field>
38 <field name="groups_id" eval="[(6,0,[ref('base.group_no_one')])]"/>
39 </record>
40 </data>
41-</openerp>
42\ No newline at end of file
43+</openerp>
44
45=== modified file 'l10n_ve_withholding_iva/model/generate_txt.py'
46--- l10n_ve_withholding_iva/model/generate_txt.py 2013-12-09 21:02:44 +0000
47+++ l10n_ve_withholding_iva/model/generate_txt.py 2014-02-19 03:06:03 +0000
48@@ -37,6 +37,7 @@
49
50 class txt_iva(osv.osv):
51 _name = "txt.iva"
52+ _inherit = ['mail.thread']
53
54 def _get_amount_total(self,cr,uid,ids,name,args,context=None):
55 """ Return total amount withheld of each selected bill
56@@ -342,7 +343,8 @@
57 }, context=context
58 )
59 cr.commit()
60- self.log(cr, uid, ids[0], _("File TXT %s generated.") % name)
61+ self.message_post(cr, uid, ids[0], _('File Created'),
62+ _("File TXT %s generated.") % name)
63
64 txt_iva()
65
66
67=== modified file 'l10n_ve_withholding_iva/view/generate_txt_view.xml'
68--- l10n_ve_withholding_iva/view/generate_txt_view.xml 2013-05-23 04:34:03 +0000
69+++ l10n_ve_withholding_iva/view/generate_txt_view.xml 2014-02-19 03:06:03 +0000
70@@ -68,6 +68,7 @@
71 </page>
72
73 </notebook>
74+ <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>
75 </form>
76 </field>
77 </record>
78@@ -131,4 +132,4 @@
79 <menuitem name="Generate TXT" id="menu_action_generate_txt_iva" parent="l10n_ve_fiscal_requirements.menu_venezuela_reporting" action="action_generate_text_iva"/>
80
81 </data>
82-</openerp>
83\ No newline at end of file
84+</openerp>
85
86=== modified file 'ovl/__openerp__.py'
87--- ovl/__openerp__.py 2013-12-16 18:19:20 +0000
88+++ ovl/__openerp__.py 2014-02-19 03:06:03 +0000
89@@ -42,7 +42,7 @@
90 # want be able set islr
91 #"l10n_ve_sale_purchase",
92 # Fifth Level of Modules
93- "l10n_ve_vat_write_off",
94+ #"l10n_ve_vat_write_off",
95 ],
96 "author" : "Vauxoo",
97 "description" : """