Merge lp:~vauxoo/openerp-venezuela-localization/gaby_fiscal_reports into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
- gaby_fiscal_reports
- Merge into 6.0-trunk
Proposed by
Gabriela Quilarque
Status: | Merged |
---|---|
Merged at revision: | 610 |
Proposed branch: | lp:~vauxoo/openerp-venezuela-localization/gaby_fiscal_reports |
Merge into: | lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk |
Diff against target: |
327 lines (+135/-49) 9 files modified
l10n_ve_fiscal_reports/adjustment_book.xml (+26/-1) l10n_ve_fiscal_reports/fiscal_report_purchase_view.xml (+13/-28) l10n_ve_fiscal_reports/fiscal_report_sale_view.xml (+29/-0) l10n_ve_fiscal_reports/fiscal_report_whp.xml (+30/-12) l10n_ve_fiscal_reports/fiscal_report_whs.xml (+30/-1) l10n_ve_fiscal_reports/i18n/es.po (+2/-2) l10n_ve_fiscal_reports/i18n/es_ES.po (+2/-2) l10n_ve_fiscal_reports/i18n/es_VE.po (+2/-2) l10n_ve_fiscal_reports/wizard/wh_book_wizard_view.xml (+1/-1) |
To merge this branch: | bzr merge lp:~vauxoo/openerp-venezuela-localization/gaby_fiscal_reports |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gabriela Quilarque | Approve | ||
Review via email: mp+92054@code.launchpad.net |
Commit message
Description of the change
Added search view:
-Sale Withholding Book
-Purchase Withholding Book
-Adjustment Book.
-Purchase Book.
-Sale Book.
To post a comment you must log in.
Revision history for this message
Gabriela Quilarque (gabrielaquilarque97) wrote : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'l10n_ve_fiscal_reports/adjustment_book.xml' |
2 | --- l10n_ve_fiscal_reports/adjustment_book.xml 2011-12-29 04:02:48 +0000 |
3 | +++ l10n_ve_fiscal_reports/adjustment_book.xml 2012-02-08 17:05:51 +0000 |
4 | @@ -8,6 +8,29 @@ |
5 | ===================================================== |
6 | --> |
7 | |
8 | + <record id="view_adjustment_book_search" model="ir.ui.view"> |
9 | + <field name="name">adjustment.book.search</field> |
10 | + <field name="model">adjustment.book</field> |
11 | + <field name="type">search</field> |
12 | + <field name="arch" type="xml"> |
13 | + <search string="Search Adjustment Book"> |
14 | + <group col="10" colspan="4"> |
15 | + <field name="name"/> |
16 | + <field name="type"/> |
17 | + <field name="period_id"/> |
18 | + <field name="note"/> |
19 | + </group> |
20 | + <newline/> |
21 | + <group expand="1" string="Group By..."> |
22 | + <separator orientation="vertical"/> |
23 | + <filter string="Periodo" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'period_id'}"/> |
24 | + <separator orientation="vertical"/> |
25 | + <filter string="Tipo" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'type'}"/> |
26 | + </group> |
27 | + </search> |
28 | + </field> |
29 | + </record> |
30 | + |
31 | <record id="view_adjustment_book_line_line_form" model="ir.ui.view"> |
32 | <field name="name">adjustment.book.line.form</field> |
33 | <field name="model">adjustment.book.line</field> |
34 | @@ -18,7 +41,7 @@ |
35 | <field name="date_accounting" select="1"/> |
36 | <field name="date_admin" select="1"/> |
37 | <field name="vat" select="1"/> |
38 | - <field name="partner" select="1"/> |
39 | + <field name="partner"/> |
40 | <field name="invoice_number" select="1"/> |
41 | <field name="control_number" select="1"/> |
42 | <field name="amount"/> |
43 | @@ -184,6 +207,8 @@ |
44 | <field name="type">ir.actions.act_window</field> |
45 | <field name="view_type">form</field> |
46 | <field name="view_mode">tree,form</field> |
47 | + <field name="search_view_id" ref="view_adjustment_book_search"/> |
48 | + <field name="help">A través del presente libro usted podrá registrar los montos que conllevan algun tipo de ajustes de acuerdo a un periodo seleccionado, asimismo podrá gestionar los datos relacionados al ajuste realizado. Los datos registrados a continuación serán mostrados en el libro de compras y ventas según sea el caso.</field> |
49 | </record> |
50 | |
51 | <record model="ir.actions.act_window.view" id="action_adjustment_book_tree"> |
52 | |
53 | === modified file 'l10n_ve_fiscal_reports/fiscal_report_purchase_view.xml' |
54 | --- l10n_ve_fiscal_reports/fiscal_report_purchase_view.xml 2012-01-30 17:27:11 +0000 |
55 | +++ l10n_ve_fiscal_reports/fiscal_report_purchase_view.xml 2012-02-08 17:05:51 +0000 |
56 | @@ -7,39 +7,24 @@ |
57 | <field name="type">search</field> |
58 | <field name="arch" type="xml"> |
59 | <search string="Search Purchase Invoices"> |
60 | - <group colspan="6"> |
61 | + <group col="10" colspan="4"> |
62 | + <field name="rp_id"/> |
63 | <field name="ai_nro_ctrl"/> |
64 | + <field name="ai_id"/> |
65 | + <field name="rp_vat"/> |
66 | <field name="ai_reference"/> |
67 | - <field name="rp_vat"/> |
68 | - <field name="rp_id"/> |
69 | + <newline/> |
70 | + <field name="ai_amount_total"/> |
71 | + <field name="ai_amount_untaxed"/> |
72 | + <field name="ai_date_invoice"/> |
73 | + <field name="ar_date_document"/> |
74 | </group> |
75 | <newline/> |
76 | - <group colspan="6"> |
77 | - <field name="ar_date_document"/> |
78 | - <field name="ai_date_invoice"/> |
79 | + <group expand="1" string="Group By..."> |
80 | + <filter string="Empresa" icon="terp-partner" domain="[]" context="{'group_by':'rp_id'}"/> |
81 | + <separator orientation="vertical"/> |
82 | + <filter string="Fecha Factura" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'ai_date_invoice'}"/> |
83 | </group> |
84 | -<!-- <group col="10" colspan="4">--> |
85 | -<!-- --> |
86 | -<!-- <filter name="draft" icon="terp-gtk-media-pause" string="Draft" domain="[('state','=','draft')]" help="Draft Withholding Income"/>--> |
87 | -<!-- <filter name="confirmed" icon="terp-camera_test" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Withholding Income"/>--> |
88 | -<!-- <filter name="done" icon="terp-check" string="Done" domain="[('state','=','done')]" help="Done Withholding Income"/>--> |
89 | -<!-- <filter name="cancel" icon="terp-dialog-close" string="Cancel" domain="[('state','=','cancel')]" help="Cancel Withholding Income"/>--> |
90 | -<!-- <separator orientation="vertical"/>--> |
91 | -<!-- <field name="code"/>--> |
92 | -<!-- <field name="partner_id"/>--> |
93 | -<!-- <field name="journal_id" select="1" widget="selection" string="Journal"/>--> |
94 | -<!-- <field name="user_id" select="1" widget="selection" string="Salesman">--> |
95 | -<!-- <filter domain="[('user_id','=',uid)]" help="My Withholding Income" icon="terp-personal" separator="1"/>--> |
96 | -<!-- </field>--> |
97 | -<!-- </group>--> |
98 | -<!-- <newline/>--> |
99 | -<!-- <group expand="1" string="Group By...">--> |
100 | -<!-- <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>--> |
101 | -<!-- <separator orientation="vertical"/>--> |
102 | -<!-- <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>--> |
103 | -<!-- <separator orientation="vertical"/>--> |
104 | -<!-- <filter string="Accounting Date of Withhold" icon="terp-go-month" domain="[]" context="{'group_by':'date_ret'}"/>--> |
105 | -<!-- </group>--> |
106 | </search> |
107 | </field> |
108 | </record> |
109 | |
110 | === modified file 'l10n_ve_fiscal_reports/fiscal_report_sale_view.xml' |
111 | --- l10n_ve_fiscal_reports/fiscal_report_sale_view.xml 2012-01-30 15:24:13 +0000 |
112 | +++ l10n_ve_fiscal_reports/fiscal_report_sale_view.xml 2012-02-08 17:05:51 +0000 |
113 | @@ -1,6 +1,34 @@ |
114 | <?xml version="1.0"?> |
115 | <openerp> |
116 | <data> |
117 | + |
118 | + <record id="view_fiscal_reports_sale_search" model="ir.ui.view"> |
119 | + <field name="name">fiscal.reports.sale.search</field> |
120 | + <field name="model">fiscal.reports.sale</field> |
121 | + <field name="type">search</field> |
122 | + <field name="arch" type="xml"> |
123 | + <search string="Search Book Sale"> |
124 | + <group col="10" colspan="4"> |
125 | + <field name="rp_id"/> |
126 | + <field name="ai_nro_ctrl"/> |
127 | + <field name="ai_id"/> |
128 | + <field name="rp_vat"/> |
129 | + <field name="ai_reference"/> |
130 | + <newline/> |
131 | + <field name="ai_amount_total"/> |
132 | + <field name="ai_amount_untaxed"/> |
133 | + <field name="ai_date_invoice"/> |
134 | + </group> |
135 | + <newline/> |
136 | + <group expand="1" string="Group By..."> |
137 | + <filter string="Empresa" icon="terp-partner" domain="[]" context="{'group_by':'rp_id'}"/> |
138 | + <separator orientation="vertical"/> |
139 | + <filter string="Fecha Factura" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'ai_date_invoice'}"/> |
140 | + </group> |
141 | + </search> |
142 | + </field> |
143 | + </record> |
144 | + |
145 | <record model="ir.ui.view" id="view_fiscal_reports_sale_form"> |
146 | <field name="name">fiscal.reports.sale.form</field> |
147 | <field name="model">fiscal.reports.sale</field> |
148 | @@ -50,6 +78,7 @@ |
149 | <field name="res_model">fiscal.reports.sale</field> |
150 | <field name="view_type">form</field> |
151 | <field name="view_mode">tree,form</field> |
152 | + <field name="search_view_id" ref="view_fiscal_reports_sale_search"/> |
153 | <field name="help">In this list you will find all invoices in a period, this invoices are the ones that will be printed on Sales Book as SENIAT ask for</field> |
154 | </record> |
155 | <menuitem id="menu_fiscal_reports_sale_tree" name="Sales Book" parent="l10n_ve_fiscal_reports.menu_fr_main" action="action_fiscal_reports_sale_tree" groups="account.group_account_manager"/> |
156 | |
157 | === modified file 'l10n_ve_fiscal_reports/fiscal_report_whp.xml' |
158 | --- l10n_ve_fiscal_reports/fiscal_report_whp.xml 2011-12-29 04:02:48 +0000 |
159 | +++ l10n_ve_fiscal_reports/fiscal_report_whp.xml 2012-02-08 17:05:51 +0000 |
160 | @@ -1,7 +1,34 @@ |
161 | <?xml version="1.0"?> |
162 | <openerp> |
163 | <data> |
164 | - |
165 | + |
166 | + <record id="view_fiscal_reports_whp_search" model="ir.ui.view"> |
167 | + <field name="name">fiscal.reports.whp.search</field> |
168 | + <field name="model">fiscal.reports.whp</field> |
169 | + <field name="type">search</field> |
170 | + <field name="arch" type="xml"> |
171 | + <search string="Search List of Purchases"> |
172 | + <group col="10" colspan="4"> |
173 | + <field name="rp_id"/> |
174 | + <field name="rp_vat"/> |
175 | + <field name="ar_number"/> |
176 | + <field name="ai_reference"/> |
177 | + <field name="ai_amount_total"/> |
178 | + <newline/> |
179 | + <field name="ai_amount_untaxed"/> |
180 | + <field name="ai_amount_tax"/> |
181 | + <field name="ar_date_ret"/> |
182 | + </group> |
183 | + <newline/> |
184 | + <group expand="1" string="Group By..."> |
185 | + <filter string="Empresa" icon="terp-partner" domain="[]" context="{'group_by':'rp_id'}"/> |
186 | + <separator orientation="vertical"/> |
187 | + <filter string="Fecha Factura" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'ar_date_ret'}"/> |
188 | + </group> |
189 | + </search> |
190 | + </field> |
191 | + </record> |
192 | + |
193 | <record model="ir.ui.view" id="view_fiscal_reports_whp_form"> |
194 | <field name="name">fiscal.reports.whp.form</field> |
195 | <field name="model">fiscal.reports.whp</field> |
196 | @@ -40,22 +67,13 @@ |
197 | </tree> |
198 | </field> |
199 | </record> |
200 | -<!-- |
201 | - 'ar_date_ret': fields.date('Date ret.'), |
202 | - 'rp_vat':fields.char('Vat Number', size=64, readonly=True), |
203 | - 'rp_id':fields.many2one('res.partner', 'Partner', required=False), |
204 | - 'ar_number':fields.char('Retention Number', size=64, required=False, readonly=False), |
205 | - 'ai_reference':fields.char('Invoice Number', size=64, required=False, readonly=False), |
206 | - 'ai_amount_total': fields.float('Amount Total', digits=(16, int(config['price_accuracy']))), |
207 | - 'ai_amount_untaxed': fields.float('Amount Untaxed', digits=(16, int(config['price_accuracy']))), |
208 | - 'ai_amount_tax': fields.float('Amount tax', digits=(16, int(config['price_accuracy']))), |
209 | - 'ar_line_id':fields.many2one('account.retention.line', 'Account Retention', required=False), |
210 | ---> |
211 | <record id="action_fiscal_reports_whp_tree" model="ir.actions.act_window"> |
212 | <field name="name">Profit by Product</field> |
213 | <field name="res_model">fiscal.reports.whp</field> |
214 | <field name="view_type">form</field> |
215 | <field name="view_mode">tree,form</field> |
216 | + <field name="search_view_id" ref="view_fiscal_reports_whp_search"/> |
217 | + <field name="help">Esta lista de elementos muestra las retenciones de impuesto sobre la renta para proveedores. De acuerdo a los datos mostrados a continuación se generará el reporte para el Libro de Retenciones de Compra.</field> |
218 | </record> |
219 | <menuitem id="menu_fiscal_reports_whp_tree" name="Purchase Witholding Book" parent="l10n_ve_fiscal_reports.menu_fr_main" action="action_fiscal_reports_whp_tree" groups="account.group_account_manager"/> |
220 | </data> |
221 | |
222 | === modified file 'l10n_ve_fiscal_reports/fiscal_report_whs.xml' |
223 | --- l10n_ve_fiscal_reports/fiscal_report_whs.xml 2011-12-29 04:02:48 +0000 |
224 | +++ l10n_ve_fiscal_reports/fiscal_report_whs.xml 2012-02-08 17:05:51 +0000 |
225 | @@ -1,7 +1,34 @@ |
226 | <?xml version="1.0"?> |
227 | <openerp> |
228 | <data> |
229 | - |
230 | + |
231 | + <record id="view_fiscal_reports_whs_search" model="ir.ui.view"> |
232 | + <field name="name">fiscal.reports.whs.search</field> |
233 | + <field name="model">fiscal.reports.whs</field> |
234 | + <field name="type">search</field> |
235 | + <field name="arch" type="xml"> |
236 | + <search string="Search List of Purchases"> |
237 | + <group col="10" colspan="4"> |
238 | + <field name="rp_id"/> |
239 | + <field name="rp_vat"/> |
240 | + <field name="ar_number"/> |
241 | + <field name="ai_reference"/> |
242 | + <field name="ai_amount_total"/> |
243 | + <newline/> |
244 | + <field name="ai_amount_untaxed"/> |
245 | + <field name="ai_amount_tax"/> |
246 | + <field name="ar_date_ret"/> |
247 | + </group> |
248 | + <newline/> |
249 | + <group expand="1" string="Group By..."> |
250 | + <filter string="Empresa" icon="terp-partner" domain="[]" context="{'group_by':'rp_id'}"/> |
251 | + <separator orientation="vertical"/> |
252 | + <filter string="Fecha Factura" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'ar_date_ret'}"/> |
253 | + </group> |
254 | + </search> |
255 | + </field> |
256 | + </record> |
257 | + |
258 | <record model="ir.ui.view" id="view_fiscal_reports_whs_form"> |
259 | <field name="name">fiscal.reports.whs.form</field> |
260 | <field name="model">fiscal.reports.whs</field> |
261 | @@ -47,6 +74,8 @@ |
262 | <field name="res_model">fiscal.reports.whs</field> |
263 | <field name="view_type">form</field> |
264 | <field name="view_mode">tree,form</field> |
265 | + <field name="search_view_id" ref="view_fiscal_reports_whs_search"/> |
266 | + <field name="help">Esta lista de elementos muestra las retenciones de impuesto sobre la renta para clientes. De acuerdo a los datos mostrados a continuación se generará el reporte para el Libro de Retenciones de Venta.</field> |
267 | </record> |
268 | <menuitem id="menu_fiscal_reports_whs_tree" name="Sale Witholding Book" parent="l10n_ve_fiscal_reports.menu_fr_main" action="action_fiscal_reports_whs_tree" groups="account.group_account_manager"/> |
269 | </data> |
270 | |
271 | === modified file 'l10n_ve_fiscal_reports/i18n/es.po' |
272 | --- l10n_ve_fiscal_reports/i18n/es.po 2012-01-30 17:36:30 +0000 |
273 | +++ l10n_ve_fiscal_reports/i18n/es.po 2012-02-08 17:05:51 +0000 |
274 | @@ -258,8 +258,8 @@ |
275 | #. module: l10n_ve_fiscal_reports |
276 | #: model:ir.ui.menu,name:l10n_ve_fiscal_reports.wh_book_wizard_menu |
277 | #: view:wh.book.wizard:0 |
278 | -msgid "Print Report Witholding Sales or Purchase" |
279 | -msgstr "Imprimir Reporte de Retención de Ventas o Compras" |
280 | +msgid "Report Witholding Sales/Purchase" |
281 | +msgstr "Reporte Retención Ventas/Compras" |
282 | |
283 | #. module: l10n_ve_fiscal_reports |
284 | #: field:fiscal.reports.purchase,ai_amount_total:0 |
285 | |
286 | === modified file 'l10n_ve_fiscal_reports/i18n/es_ES.po' |
287 | --- l10n_ve_fiscal_reports/i18n/es_ES.po 2012-01-30 17:36:30 +0000 |
288 | +++ l10n_ve_fiscal_reports/i18n/es_ES.po 2012-02-08 17:05:51 +0000 |
289 | @@ -245,8 +245,8 @@ |
290 | |
291 | #. module: l10n_ve_fiscal_reports |
292 | #: model:ir.ui.menu,name:l10n_ve_fiscal_reports.menu_wizard_wh_book_report |
293 | -msgid "Print Report Witholding Sales or Purchase" |
294 | -msgstr "Imprimir Reporte de Retención de Ventas o Compras" |
295 | +msgid "Report Witholding Sales/Purchase" |
296 | +msgstr "Reporte Retención Ventas/Compras" |
297 | |
298 | #. module: l10n_ve_fiscal_reports |
299 | #: field:fiscal.reports.purchase,ai_amount_total:0 |
300 | |
301 | === modified file 'l10n_ve_fiscal_reports/i18n/es_VE.po' |
302 | --- l10n_ve_fiscal_reports/i18n/es_VE.po 2012-01-30 17:36:30 +0000 |
303 | +++ l10n_ve_fiscal_reports/i18n/es_VE.po 2012-02-08 17:05:51 +0000 |
304 | @@ -258,8 +258,8 @@ |
305 | #. module: l10n_ve_fiscal_reports |
306 | #: model:ir.ui.menu,name:l10n_ve_fiscal_reports.wh_book_wizard_menu |
307 | #: view:wh.book.wizard:0 |
308 | -msgid "Print Report Witholding Sales or Purchase" |
309 | -msgstr "Imprimir Reporte de Retención de Ventas o Compras" |
310 | +msgid "Report Witholding Sales/Purchase" |
311 | +msgstr "Reporte Retención Ventas/Compras" |
312 | |
313 | #. module: l10n_ve_fiscal_reports |
314 | #: field:fiscal.reports.purchase,ai_amount_total:0 |
315 | |
316 | === modified file 'l10n_ve_fiscal_reports/wizard/wh_book_wizard_view.xml' |
317 | --- l10n_ve_fiscal_reports/wizard/wh_book_wizard_view.xml 2012-01-26 16:03:21 +0000 |
318 | +++ l10n_ve_fiscal_reports/wizard/wh_book_wizard_view.xml 2012-02-08 17:05:51 +0000 |
319 | @@ -28,7 +28,7 @@ |
320 | <field name="view_id" ref="wh_book_wizard_form"/> |
321 | <field name="target">new</field> |
322 | </record> |
323 | - <menuitem name="Print Report Witholding Sales or Purchase" id="wh_book_wizard_menu" |
324 | + <menuitem name="Report Withholding Sale/Purchase" id="wh_book_wizard_menu" |
325 | parent="menu_fr_main" action="wh_book_wizard_act" /> |
326 | </data> |
327 | </openerp> |
Merge Realizado Gaby.