Merge lp:~vauxoo/openerp-venezuela-localization/jose-InterCompany into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk

Status: Rejected
Rejected by: Nhomar - Vauxoo
Proposed branch: lp:~vauxoo/openerp-venezuela-localization/jose-InterCompany
Merge into: lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
Diff against target: 45157 lines (+44617/-0) (has conflicts)
97 files modified
.bzrignore (+3/-0)
extra_UOM/__init__.py (+2/-0)
extra_UOM/__openerp__.py (+62/-0)
extra_UOM/data/extra_UOM_data.xml (+322/-0)
extra_UOM/demo/extra_UOM_demo.xml (+5/-0)
extra_UOM/i18n/es_VE.po (+315/-0)
extra_UOM/i18n/extra_UOM.pot.xxx (+123/-0)
extra_UOM/i18n/fr_BE.po.xxx (+123/-0)
extra_UOM/model/__init__.py (+25/-0)
extra_UOM/model/account_invoice.py (+34/-0)
extra_UOM/model/extra_UOM.py (+123/-0)
extra_UOM/model/product.py (+219/-0)
extra_UOM/model/purchase.py (+154/-0)
extra_UOM/model/sale.py (+110/-0)
extra_UOM/model/stock.py (+84/-0)
extra_UOM/view/account_invoice.xml (+33/-0)
extra_UOM/view/extra_UOM_view.xml (+224/-0)
extra_UOM/view/purchase_view.xml (+30/-0)
extra_UOM/wizard/__init__.py (+22/-0)
extra_UOM/wizard/stock_move_split.py (+349/-0)
extra_UOM/wizard/stock_move_split_view.xml (+123/-0)
fetchmail_document/__init__.py (+1/-0)
fetchmail_document/__openerp__.py (+20/-0)
fetchmail_document/crm_claim.py (+12/-0)
fetchmail_document/document.py (+31/-0)
icecat_product_uniqueness/__init__.py (+28/-0)
icecat_product_uniqueness/__openerp__.py (+40/-0)
icecat_product_uniqueness/product.py (+60/-0)
icecat_product_uniqueness/product_view.xml (+31/-0)
l10n_ve_commerce/__init__.py (+25/-0)
l10n_ve_commerce/__openerp__.py (+48/-0)
l10n_ve_commerce/account.py (+71/-0)
l10n_ve_commerce/account_account.xml (+25/-0)
l10n_ve_commerce/account_account.xml.org (+24/-0)
l10n_ve_commerce/account_chart.xml (+5265/-0)
l10n_ve_commerce/account_chart.xml.org (+11772/-0)
l10n_ve_commerce/account_tax.xml (+83/-0)
l10n_ve_commerce/account_tax_code.xml (+33/-0)
l10n_ve_commerce/account_user_types.xml (+63/-0)
l10n_ve_commerce/l10n_chart_ve_wizard.xml (+21/-0)
l10n_ve_tcv/__init__.py (+25/-0)
l10n_ve_tcv/__openerp__.py (+54/-0)
l10n_ve_tcv/account.py (+71/-0)
l10n_ve_tcv/data/account_account.xml (+25/-0)
l10n_ve_tcv/data/account_account.xml.org (+24/-0)
l10n_ve_tcv/data/account_account_template.xml (+4412/-0)
l10n_ve_tcv/data/account_account_type.xml (+63/-0)
l10n_ve_tcv/data/account_chart.xml.bad (+1262/-0)
l10n_ve_tcv/data/account_chart.xml.org (+11772/-0)
l10n_ve_tcv/data/account_payment_term.xml (+70/-0)
l10n_ve_tcv/data/account_tax.xml (+277/-0)
l10n_ve_tcv/data/account_tax.xml.org (+199/-0)
l10n_ve_tcv/data/account_tax_code.xml (+33/-0)
l10n_ve_tcv/data/res_country_state.xml (+178/-0)
l10n_ve_tcv/data/res_partner.xml (+2147/-0)
l10n_ve_tcv/data/res_partner_title.xml (+127/-0)
l10n_ve_tcv/l10n_chart_ve_wizard.xml (+21/-0)
m321_customization/__init__.py (+28/-0)
m321_customization/__openerp__.py (+42/-0)
m321_customization/product.py (+75/-0)
m321_customization/product_view.xml (+46/-0)
product_catalog_m321/__init__.py (+23/-0)
product_catalog_m321/__openerp__.py (+42/-0)
product_catalog_m321/i18n/fr_BE.po (+65/-0)
product_catalog_m321/i18n/product_catalog_report.pot (+65/-0)
product_catalog_m321/i18n/sv.po (+67/-0)
product_catalog_m321/product_report.xml (+14/-0)
product_catalog_m321/product_wizard.xml (+10/-0)
product_catalog_m321/report/__init__.py (+22/-0)
product_catalog_m321/report/product_catalog.py (+150/-0)
product_catalog_m321/report/product_catalog.rml (+287/-0)
product_catalog_m321/wizard/__init__.py (+22/-0)
product_catalog_m321/wizard/wizard_product_catalog.py (+66/-0)
product_multicompany_addons.diff (+518/-0)
sale_margin_commision/__init__.py (+2/-0)
sale_margin_commision/__openerp__.py (+21/-0)
sale_margin_commision/commision_view.xml (+20/-0)
sale_margin_commision/sale.py (+51/-0)
sale_order_report/__init__.py (+4/-0)
sale_order_report/__openerp__.py (+24/-0)
sale_order_report/incoterm.py (+35/-0)
sale_order_report/incoterm_view.xml (+62/-0)
sale_order_report/order.py (+27/-0)
sale_order_report/report/__init__.py (+23/-0)
sale_order_report/report/order.py (+42/-0)
sale_order_report/report/order.rml (+324/-0)
sale_order_report/sale_order_report.xml (+6/-0)
sale_order_report/sale_order_view.xml (+36/-0)
tcv_module_list/__init__.py (+20/-0)
tcv_module_list/__openerp__.py (+76/-0)
tcv_profit/__init__.py (+21/-0)
tcv_profit/__openerp__.py (+40/-0)
tcv_profit/wizard/__init__.py (+20/-0)
tcv_profit/wizard/tools_dll.py (+37/-0)
tcv_profit/wizard/validar_rif.py (+139/-0)
tcv_profit/wizard/wz_tcv_profit.py (+1085/-0)
tcv_profit/wizard/wz_tcv_profit_view.xml (+62/-0)
Conflict adding file .bzrignore.  Moved existing file to .bzrignore.moved.
To merge this branch: bzr merge lp:~vauxoo/openerp-venezuela-localization/jose-InterCompany
Reviewer Review Type Date Requested Status
hbto [Vauxoo] http://www.vauxoo.com Pending
Review via email: mp+82311@code.launchpad.net

Description of the change

[ADD] added fields for save the fields in the stock move
changed the method compute pieces in the model product.product

To post a comment you must log in.
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Es para otro proyecto.

Unmerged revisions

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

[ADD] added fields for save the fields in the stock move
changed the method compute pieces in the model product.product

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

[ADD] added field type for definition of the type of picking (in or out)

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

[IMP] changed the method split, for add pieces_qty

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

[IMP] Changed the method split for add the fields new in the wizard split in lot

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

[ADD]Added compute of area in the wizard split in lot

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

[ADD] Added values for default in the wizard split in lot

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

[ADD]Added field integer for the definition of the repetitions

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

 [ADD] Added field in the wizard of split in lot

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

[ADD] build wizard for split in lot

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

[IMP] changed read for browse in the model extra_UOM.py

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2011-11-15 20:46:26 +0000
4@@ -0,0 +1,3 @@
5+eeqp_reports
6+l10n_ve_epronet
7+test
8
9=== renamed file '.bzrignore' => '.bzrignore.moved'
10=== added directory 'extra_UOM'
11=== added file 'extra_UOM/__init__.py'
12--- extra_UOM/__init__.py 1970-01-01 00:00:00 +0000
13+++ extra_UOM/__init__.py 2011-11-15 20:46:26 +0000
14@@ -0,0 +1,2 @@
15+import model
16+import wizard
17
18=== added file 'extra_UOM/__openerp__.py'
19--- extra_UOM/__openerp__.py 1970-01-01 00:00:00 +0000
20+++ extra_UOM/__openerp__.py 2011-11-15 20:46:26 +0000
21@@ -0,0 +1,62 @@
22+##############################################################################
23+#
24+# OpenERP, Open Source Management Solution
25+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
26+#
27+# This program is free software: you can redistribute it and/or modify
28+# it under the terms of the GNU Affero General Public License as
29+# published by the Free Software Foundation, either version 3 of the
30+# License, or (at your option) any later version.
31+#
32+# This program is distributed in the hope that it will be useful,
33+# but WITHOUT ANY WARRANTY; without even the implied warranty of
34+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35+# GNU Affero General Public License for more details.
36+#
37+# You should have received a copy of the GNU Affero General Public License
38+# along with this program. If not, see <http://www.gnu.org/licenses/>.
39+#
40+##############################################################################
41+{
42+ "name" : "Extra UOM functionallity for area & volume calculation",
43+ "version" : "0.4",
44+ "author" : "Tecvemar,ca - Juan Márquez",
45+ "category" : "Custom",
46+ "depends" : ["base", "account", "product", "stock", "mrp", "sale","purchase"],
47+ "init_xml" : [],
48+# "demo_xml" : ["extra_UOM_demo.xml"],
49+ "demo_xml" : [],
50+ "description":
51+"""
52+Extends the functionality of the UOM module to incorporate a unique
53+function for calculating areas and volumes.
54+
55+ Add in Decimal Precision: Extra UOM data & Stock Precision
56+ Add in UOM Categories: Area & Volume
57+ Add in UOM: m2, m3 & ml
58+ Add new models: (linked to product.product in Special features)
59+ Layout
60+ Material
61+ Finish
62+ Quality
63+ Color
64+ Tile Format
65+ Thickness
66+ Pricelist Group
67+ Country of origin
68+ Similar products
69+ All this models have basic data (data/extra_UOM_data.xml)
70+""",
71+ "update_xml" : [
72+ "data/extra_UOM_data.xml",
73+ "view/extra_UOM_view.xml",
74+ "view/account_invoice.xml",
75+ "view/purchase_view.xml",
76+ "wizard/stock_move_split_view.xml",
77+ ],
78+
79+ "active": False,
80+ "installable": True
81+}
82+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
83+
84
85=== added directory 'extra_UOM/data'
86=== added file 'extra_UOM/data/extra_UOM_data.xml'
87--- extra_UOM/data/extra_UOM_data.xml 1970-01-01 00:00:00 +0000
88+++ extra_UOM/data/extra_UOM_data.xml 2011-11-15 20:46:26 +0000
89@@ -0,0 +1,322 @@
90+<?xml version="1.0" encoding="utf-8"?>
91+<openerp>
92+ <data>
93+
94+<!--Decimal Precision-->
95+
96+ <record model="decimal.precision" id="Extra_UOM_data">
97+ <field name="name">Extra UOM data</field>
98+ <field name="digits">3</field>
99+ </record>
100+
101+<!--UOM Categories-->
102+
103+ <record model="product.uom.categ" id="categ_area">
104+ <field name="name">Area</field>
105+ </record>
106+
107+ <record model="product.uom.categ" id="categ_vol">
108+ <field name="name">Volume</field>
109+ </record>
110+
111+<!--Product.UOM-->
112+<!--TODO Chek rounding value-->
113+
114+ <record id="product_uom_m2" model="product.uom">
115+ <field name="category_id" ref="categ_area"/>
116+ <field name="name">m2</field>
117+ <field name="uom_type">reference</field>
118+ <field name="factor">1</field>
119+ <field name="rounding">0.0001</field>
120+ </record>
121+
122+<!-- <record id="product_uom_tile" model="product.uom">-->
123+<!-- <field name="category_id" ref="categ_area"/>-->
124+<!-- <field name="name">Tile</field>-->
125+<!-- <field name="uom_type">smaller</field>-->
126+<!-- <field name="factor">0.9</field> -->
127+<!-- <field name="rounding">0.01</field> -->
128+<!-- </record>-->
129+
130+<!-- <record id="product_uom_slab" model="product.uom">-->
131+<!-- <field name="category_id" ref="categ_area"/>-->
132+<!-- <field name="name">Slab</field>-->
133+<!-- <field name="uom_type">bigger</field>-->
134+<!-- <field name="factor">1.1</field> -->
135+<!-- <field name="rounding">0.01</field> -->
136+<!-- </record>-->
137+
138+ <record id="product_uom_m3" model="product.uom">
139+ <field name="category_id" ref="categ_vol"/>
140+ <field name="name">m3</field>
141+ <field name="uom_type">reference</field>
142+ <field name="factor">1</field>
143+ <field name="rounding">0.0001</field>
144+ </record>
145+
146+<!--Otras UOM desde profit -->
147+
148+ <record id="product_uom_ml" model="product.uom">
149+ <field name="category_id" ref="product.uom_categ_length"/>
150+ <field name="name">ml</field>
151+ <field name="uom_type">smaller</field>
152+ <field name="factor">1</field>
153+ <field name="rounding">0.0001</field>
154+ </record>
155+
156+<!--Tipos de Material-->
157+<!--('Granito','Mármol','Travertino','Pizarra', 'Coralina','Cuarcita','Laja','Piedra')-->
158+ <record id="product_material_granito1" model="product.product.features">
159+ <field name="name">Granito</field>
160+ <field name="type">material</field>
161+ </record>
162+ <record id="product_material_marmol1" model="product.product.features">
163+ <field name="name">Mármol</field>
164+ <field name="type">material</field>
165+ </record>
166+ <record id="product_material_travertino1" model="product.product.features">
167+ <field name="name">Travertino</field>
168+ <field name="type">material</field>
169+ </record>
170+ <record id="product_material_piza" model="product.product.features">
171+ <field name="name">Pizarra</field>
172+ <field name="type">material</field>
173+ </record>
174+ <record id="product_material_cora" model="product.product.features">
175+ <field name="name">Coralina</field>
176+ <field name="type">material</field>
177+ </record>
178+ <record id="product_material_cuar" model="product.product.features">
179+ <field name="name">Cuarcita</field>
180+ <field name="type">material</field>
181+ </record>
182+ <record id="product_material_laja" model="product.product.features">
183+ <field name="name">Laja</field>
184+ <field name="type">material</field>
185+ </record>
186+ <record id="product_material_pied" model="product.product.features">
187+ <field name="name">Piedra</field>
188+ <field name="type">material</field>
189+ </record>
190+ <record id="product_material_cera" model="product.product.features">
191+ <field name="name">Ceramica</field>
192+ <field name="type">material</field>
193+ </record>
194+ <record id="product_material_porc" model="product.product.features">
195+ <field name="name">Porcelanato</field>
196+ <field name="type">material</field>
197+ </record>
198+
199+<!--Tipos de Presentacion-->
200+<!--'Bloques','Láminas','Baldosas','Spacattos','Scapezzattos','Recortes','Insumos','Servicios','Repuestos')-->
201+ <record id="product_layout_bloques1" model="product.product.features">
202+ <field name="name">Bloques</field>
203+ <field name="type">layout</field>
204+ </record>
205+ <record id="product_layout_laminas1" model="product.product.features">
206+ <field name="name">Láminas</field>
207+ <field name="type">layout</field>
208+ </record>
209+ <record id="product_layout_baldosas1" model="product.product.features">
210+ <field name="name">Baldosas</field>
211+ <field name="type">layout</field>
212+ </record>
213+ <record id="product_layout_mosa" model="product.product.features">
214+ <field name="name">Mosaicos</field>
215+ <field name="type">layout</field>
216+ </record>
217+ <record id="product_layout_spaca" model="product.product.features">
218+ <field name="name">Spacattos</field>
219+ <field name="type">layout</field>
220+ </record>
221+ <record id="product_layout_scap" model="product.product.features">
222+ <field name="name">Scapezzattos</field>
223+ <field name="type">layout</field>
224+ </record>
225+ <record id="product_layout_reco" model="product.product.features">
226+ <field name="name">Recortes</field>
227+ <field name="type">layout</field>
228+ </record>
229+
230+<!--Colores-->
231+ <record id="product_color_amari" model="product.product.features">
232+ <field name="name">Amarillo</field>
233+ <field name="type">color</field>
234+ </record>
235+ <record id="product_color_azull" model="product.product.features">
236+ <field name="name">Azul</field>
237+ <field name="type">color</field>
238+ </record>
239+ <record id="product_color_blan" model="product.product.features">
240+ <field name="name">Blanco</field>
241+ <field name="type">color</field>
242+ </record>
243+ <record id="product_color_cara" model="product.product.features">
244+ <field name="name">Caramelo</field>
245+ <field name="type">color</field>
246+ </record>
247+ <record id="product_color_crem" model="product.product.features">
248+ <field name="name">Crema</field>
249+ <field name="type">color</field>
250+ </record>
251+ <record id="product_color_gris" model="product.product.features">
252+ <field name="name">Gris</field>
253+ <field name="type">color</field>
254+ </record>
255+ <record id="product_color_marr" model="product.product.features">
256+ <field name="name">Marron</field>
257+ <field name="type">color</field>
258+ </record>
259+ <record id="product_color_mult" model="product.product.features">
260+ <field name="name">Multicolor</field>
261+ <field name="type">color</field>
262+ </record>
263+ <record id="product_color_negr" model="product.product.features">
264+ <field name="name">Negro</field>
265+ <field name="type">color</field>
266+ </record>
267+ <record id="product_color_nar" model="product.product.features">
268+ <field name="name">Naranja</field>
269+ <field name="type">color</field>
270+ </record>
271+ <record id="product_color_rosado" model="product.product.features">
272+ <field name="name">Rosado</field>
273+ <field name="type">color</field>
274+ </record>
275+ <record id="product_color_rosaa" model="product.product.features">
276+ <field name="name">Rosa</field>
277+ <field name="type">color</field>
278+ </record>
279+ <record id="product_color_rojo" model="product.product.features">
280+ <field name="name">Rojo</field>
281+ <field name="type">color</field>
282+ </record>
283+ <record id="product_color_verd" model="product.product.features">
284+ <field name="name">Verde</field>
285+ <field name="type">color</field>
286+ </record>
287+ <record id="product_color_vino" model="product.product.features">
288+ <field name="name">Vinotinto</field>
289+ <field name="type">color</field>
290+ </record>
291+
292+<!--Quality-->
293+ <record id="product_quality_a_5" model="product.product.features">
294+ <field name="name">Extra A</field>
295+ <field name="type">quality</field>
296+ </record>
297+ <record id="product_quality_bb" model="product.product.features">
298+ <field name="name">Extra B</field>
299+ <field name="type">quality</field>
300+ </record>
301+ <record id="product_quality_11" model="product.product.features">
302+ <field name="name">1ra</field>
303+ <field name="type">quality</field>
304+ </record>
305+ <record id="product_quality_22" model="product.product.features">
306+ <field name="name">2da</field>
307+ <field name="type">quality</field>
308+ </record>
309+ <record id="product_quality_33" model="product.product.features">
310+ <field name="name">Comercial</field>
311+ <field name="type">quality</field>
312+ </record>
313+
314+<!--Finish-->
315+ <record id="product_finish_rust" model="product.product.features">
316+ <field name="name">Rústico</field>
317+ <field name="type">finish</field>
318+ </record>
319+ <record id="product_finish_lava" model="product.product.features">
320+ <field name="name">Lavado</field>
321+ <field name="type">finish</field>
322+ </record>
323+ <record id="product_finish_flam" model="product.product.features">
324+ <field name="name">Flameado</field>
325+ <field name="type">finish</field>
326+ </record>
327+ <record id="product_finish_cepi" model="product.product.features">
328+ <field name="name">Cepillado</field>
329+ <field name="type">finish</field>
330+ </record>
331+ <record id="product_finish_apom" model="product.product.features">
332+ <field name="name">Apomazado</field>
333+ <field name="type">finish</field>
334+ </record>
335+ <record id="product_finish_brill" model="product.product.features">
336+ <field name="name">Brillado</field>
337+ <field name="type">finish</field>
338+ </record>
339+ <record id="product_finish_puli" model="product.product.features">
340+ <field name="name">Pulido</field>
341+ <field name="type">finish</field>
342+ </record>
343+ <record id="product_finish_ryp1" model="product.product.features">
344+ <field name="name">Resinado y pulido</field>
345+ <field name="type">finish</field>
346+ </record>
347+ <record id="product_finish_cart" model="product.product.features">
348+ <field name="name">Carateado</field>
349+ <field name="type">finish</field>
350+ </record>
351+ <record id="product_finish_cyp1" model="product.product.features">
352+ <field name="name">Carateado y pulido</field>
353+ <field name="type">finish</field>
354+ </record>
355+ <record id="product_finish_anti" model="product.product.features">
356+ <field name="name">Antiquizado</field>
357+ <field name="type">finish</field>
358+ </record>
359+ <record id="product_finish_pez" model="product.product.features">
360+ <field name="name">Piezas especiales</field>
361+ <field name="type">finish</field>
362+ </record>
363+
364+<!--Tile format-->
365+ <record id="product_tile_format_01" model="product.product.tile.format">
366+ <field name="length">0.300</field>
367+ <field name="heigth">0.600</field>
368+ </record>
369+ <record id="product_tile_format_02" model="product.product.tile.format">
370+ <field name="length">0.305</field>
371+ <field name="heigth">0.610</field>
372+ </record>
373+ <record id="product_tile_format_03" model="product.product.tile.format">
374+ <field name="length">0.300</field>
375+ <field name="heigth">0.300</field>
376+ </record>
377+ <record id="product_tile_format_04" model="product.product.tile.format">
378+ <field name="length">0.305</field>
379+ <field name="heigth">0.305</field>
380+ </record>
381+ <record id="product_tile_format_05" model="product.product.tile.format">
382+ <field name="length">0.060</field>
383+ <field name="heigth">0.250</field>
384+ </record>
385+ <record id="product_tile_format_06" model="product.product.tile.format">
386+ <field name="length">0.250</field>
387+ <field name="heigth">0.400</field>
388+ </record>
389+
390+<!--Pricelist Groups -->
391+ <record id="product_pricelist_group_pgn" model="product.product.pricelist.group">
392+ <field name="name">Planchas de Granito Nacional</field>
393+ </record>
394+ <record id="product_pricelist_group_pgi" model="product.product.pricelist.group">
395+ <field name="name">Planchas de Granito importado</field>
396+ </record>
397+ <record id="product_pricelist_group_pmt" model="product.product.pricelist.group">
398+ <field name="name">Planchas de Mármol y Travertino</field>
399+ </record>
400+ <record id="product_pricelist_group_bgn" model="product.product.pricelist.group">
401+ <field name="name">Baldosas de Granito Nacional</field>
402+ </record>
403+ <record id="product_pricelist_group_bgi" model="product.product.pricelist.group">
404+ <field name="name">Baldosas de Granito importado</field>
405+ </record>
406+ <record id="product_pricelist_group_bmt" model="product.product.pricelist.group">
407+ <field name="name">Baldosas de Mármol y Travertino</field>
408+ </record>
409+
410+ </data>
411+</openerp>
412
413=== added directory 'extra_UOM/demo'
414=== added file 'extra_UOM/demo/extra_UOM_demo.xml'
415--- extra_UOM/demo/extra_UOM_demo.xml 1970-01-01 00:00:00 +0000
416+++ extra_UOM/demo/extra_UOM_demo.xml 2011-11-15 20:46:26 +0000
417@@ -0,0 +1,5 @@
418+<?xml version="1.0" encoding="utf-8"?>
419+<openerp>
420+ <data>
421+ </data>
422+</openerp>
423
424=== added directory 'extra_UOM/i18n'
425=== added file 'extra_UOM/i18n/es_VE.po'
426--- extra_UOM/i18n/es_VE.po 1970-01-01 00:00:00 +0000
427+++ extra_UOM/i18n/es_VE.po 2011-11-15 20:46:26 +0000
428@@ -0,0 +1,315 @@
429+# Translation of OpenERP Server.
430+# This file contains the translation of the following modules:
431+# * extra_UOM
432+#
433+msgid ""
434+msgstr ""
435+"Project-Id-Version: OpenERP Server 6.0.3\n"
436+"Report-Msgid-Bugs-To: support@openerp.com\n"
437+"POT-Creation-Date: 2011-09-09 16:10+0000\n"
438+"PO-Revision-Date: 2011-09-09 16:10+0000\n"
439+"Last-Translator: <>\n"
440+"Language-Team: \n"
441+"MIME-Version: 1.0\n"
442+"Content-Type: text/plain; charset=UTF-8\n"
443+"Content-Transfer-Encoding: \n"
444+"Plural-Forms: \n"
445+
446+#. module: extra_UOM
447+#: field:stock.production.lot,lot_factor:0
448+msgid "Lot Factor"
449+msgstr "Factor del lote"
450+
451+#. module: extra_UOM
452+#: model:ir.model,name:extra_UOM.model_stock_production_lot
453+msgid "Production lot"
454+msgstr "Lote de producción"
455+
456+#. module: extra_UOM
457+#: field:stock.production.lot,width:0
458+msgid "Width (m)"
459+msgstr "Ancho (m)"
460+
461+#. module: extra_UOM
462+#: field:product.product,layout_id:0
463+#: field:product.product.layout,name:0
464+msgid "Layout"
465+msgstr "Presentación"
466+
467+#. module: extra_UOM
468+#: model:product.uom.categ,name:extra_UOM.categ_area
469+msgid "Area"
470+msgstr "Area"
471+
472+#. module: extra_UOM
473+#: field:product.product.tile.format,heigth:0
474+#: field:stock.production.lot,heigth:0
475+msgid "Heigth (m)"
476+msgstr "Alto (m)"
477+
478+#. module: extra_UOM
479+#: field:product.product,origin_country_id:0
480+msgid "Country of Origin"
481+msgstr "Pais de Origen"
482+
483+#. module: extra_UOM
484+#: constraint:stock.move:0
485+msgid "You must assign a production lot for this product"
486+msgstr "Debe asignar un lote de producción para este producto"
487+
488+#. module: extra_UOM
489+#: code:addons/extra_UOM/product.py:241
490+#: code:addons/extra_UOM/product.py:250
491+#, python-format
492+msgid "Unkoun stock driver (%s): %s"
493+msgstr "Manejador desconocido (%s): %s"
494+
495+#. module: extra_UOM
496+#: sql_constraint:stock.production.lot:0
497+msgid "The combination of serial number and internal reference must be unique !"
498+msgstr "¡La combinación de número de serie y referencia interna debe ser única!"
499+
500+#. module: extra_UOM
501+#: selection:product.product,stock_driver:0
502+msgid "Tile"
503+msgstr "Baldosa"
504+
505+#. module: extra_UOM
506+#: view:product.product:0
507+#: field:product.product,similarity_ids:0
508+msgid "Similar products"
509+msgstr "Productos similares"
510+
511+#. module: extra_UOM
512+#: model:ir.model,name:extra_UOM.model_product_product
513+msgid "Product"
514+msgstr "Producto"
515+
516+#. module: extra_UOM
517+#: field:product.product,finish_id:0
518+#: field:product.product.finish,name:0
519+msgid "Finish"
520+msgstr "Acabado"
521+
522+#. module: extra_UOM
523+#: view:product.product:0
524+msgid "Format"
525+msgstr "Formato"
526+
527+#. module: extra_UOM
528+#: constraint:stock.move:0
529+msgid "You try to assign a lot which is not from the same product"
530+msgstr "Está intentando asignar un lote que no es del mismo producto"
531+
532+#. module: extra_UOM
533+#: model:ir.model,name:extra_UOM.model_product_product_color
534+msgid "\n"
535+" OpenERP Model : product_product_color\n"
536+" "
537+msgstr "\n"
538+" OpenERP Model : product_product_color\n"
539+" "
540+
541+#. module: extra_UOM
542+#: field:product.product,material_id:0
543+#: field:product.product.material,name:0
544+msgid "Material"
545+msgstr "Material"
546+
547+#. module: extra_UOM
548+#: model:product.uom.categ,name:extra_UOM.categ_vol
549+msgid "Volume"
550+msgstr "Volumen"
551+
552+#. module: extra_UOM
553+#: field:product.product.tile.format,kit:0
554+msgid "Is kit"
555+msgstr "Es kit"
556+
557+#. module: extra_UOM
558+#: model:ir.model,name:extra_UOM.model_product_product_layout
559+msgid "\n"
560+" OpenERP Model : product_product_layout\n"
561+" "
562+msgstr "\n"
563+" OpenERP Model : product_product_layout\n"
564+" "
565+
566+#. module: extra_UOM
567+#: model:ir.model,name:extra_UOM.model_product_product_pricelist_group
568+msgid "\n"
569+" OpenERP Model : product_product_pricelist_group\n"
570+" "
571+msgstr "\n"
572+" OpenERP Model : product_product_pricelist_group\n"
573+" "
574+
575+#. module: extra_UOM
576+#: model:product.uom,name:extra_UOM.product_uom_m3
577+msgid "m3"
578+msgstr "m3"
579+
580+#. module: extra_UOM
581+#: view:product.product:0
582+msgid "Others"
583+msgstr "Otros"
584+
585+#. module: extra_UOM
586+#: model:ir.model,name:extra_UOM.model_product_product_material
587+msgid "\n"
588+" OpenERP Model : product_product_material\n"
589+" "
590+msgstr "\n"
591+" OpenERP Model : product_product_material\n"
592+" "
593+
594+#. module: extra_UOM
595+#: view:product.product:0
596+msgid "Special features"
597+msgstr "Características adicionales"
598+
599+#. module: extra_UOM
600+#: model:ir.model,name:extra_UOM.model_product_uom
601+msgid "Product Unit of Measure"
602+msgstr "Unidad de medida del producto"
603+
604+#. module: extra_UOM
605+#: sql_constraint:product.uom:0
606+msgid "The conversion ratio for a unit of measure cannot be 0!"
607+msgstr "¡El ratio de conversión para una unidad de medida no puede ser 0!"
608+
609+#. module: extra_UOM
610+#: view:product.product:0
611+msgid "Physical characteristics"
612+msgstr "Características físicas"
613+
614+#. module: extra_UOM
615+#: model:product.uom,name:extra_UOM.product_uom_m2
616+msgid "m2"
617+msgstr "m2"
618+
619+#. module: extra_UOM
620+#: model:ir.model,name:extra_UOM.model_product_product_finish
621+#: model:ir.model,name:extra_UOM.model_product_product_tile_format
622+msgid "\n"
623+" OpenERP Model : product_product_finish\n"
624+" "
625+msgstr "\n"
626+" OpenERP Model : product_product_finish\n"
627+" "
628+
629+#. module: extra_UOM
630+#: field:product.product,stock_driver:0
631+msgid "Stock driver"
632+msgstr "Manejador de Stock"
633+
634+#. module: extra_UOM
635+#: model:ir.module.module,shortdesc:extra_UOM.module_meta_information
636+msgid "Extra UOM functionallity for area & volume calculation"
637+msgstr "Extra UOM: Funcionalidad extra para cálculo de areas y volumenes"
638+
639+#. module: extra_UOM
640+#: code:addons/extra_UOM/product.py:241
641+#: code:addons/extra_UOM/product.py:250
642+#, python-format
643+msgid "Error"
644+msgstr "Error"
645+
646+#. module: extra_UOM
647+#: selection:product.product,stock_driver:0
648+msgid "Block"
649+msgstr "Bloque"
650+
651+#. module: extra_UOM
652+#: field:product.product,thickness:0
653+msgid "Thickness (mm)"
654+msgstr "Espesor (mm)"
655+
656+#. module: extra_UOM
657+#: model:ir.model,name:extra_UOM.model_product_product_quality
658+msgid "\n"
659+" OpenERP Model : product_product_quality\n"
660+" "
661+msgstr "\n"
662+" OpenERP Model : product_product_quality\n"
663+" "
664+
665+#. module: extra_UOM
666+#: model:ir.model,name:extra_UOM.model_stock_move
667+msgid "Stock Move"
668+msgstr "Movimiento stock"
669+
670+#. module: extra_UOM
671+#: field:product.product,color_id:0
672+#: field:product.product.color,name:0
673+msgid "Color"
674+msgstr "Color"
675+
676+#. module: extra_UOM
677+#: field:product.product,pricelist_group_id:0
678+#: field:product.product.pricelist.group,name:0
679+msgid "Pricelist group"
680+msgstr "Grupo lista de Precios"
681+
682+#. module: extra_UOM
683+#: model:ir.module.module,description:extra_UOM.module_meta_information
684+msgid "\n"
685+"Extends the functionality of the UOM module to incorporate a unique \n"
686+"function for calculating areas and volumes.\n"
687+" \n"
688+" Add in Decimal Precision: Extra UOM data & Stock Precision\n"
689+" Add in UOM Categories: Area & Volume\n"
690+" Add in UOM: m2, Slab, Tile, m3 & Block\n"
691+""
692+msgstr "\n"
693+"Extends the functionality of the UOM module to incorporate a unique \n"
694+"function for calculating areas and volumes.\n"
695+" \n"
696+" Add in Decimal Precision: Extra UOM data & Stock Precision\n"
697+" Add in UOM Categories: Area & Volume\n"
698+" Add in UOM: m2, Slab, Tile, m3 & Block\n"
699+""
700+
701+#. module: extra_UOM
702+#: selection:product.product,stock_driver:0
703+msgid "Normal"
704+msgstr "Normal"
705+
706+#. module: extra_UOM
707+#: field:product.product,tile_format_id:0
708+#: field:product.product.tile.format,name:0
709+msgid "Tile format"
710+msgstr "Formato de baldosas"
711+
712+#. module: extra_UOM
713+#: field:stock.move,pieces_qty:0
714+msgid "Pieces"
715+msgstr "Piezas"
716+
717+#. module: extra_UOM
718+#: field:product.product.tile.format,length:0
719+#: field:stock.production.lot,length:0
720+msgid "Length (m)"
721+msgstr "Largo (m)"
722+
723+#. module: extra_UOM
724+#: constraint:product.product:0
725+msgid "Error: Invalid ean code"
726+msgstr "Error: Código EAN erróneo"
727+
728+#. module: extra_UOM
729+#: model:product.uom,name:extra_UOM.product_uom_ml
730+msgid "ml"
731+msgstr "ml"
732+
733+#. module: extra_UOM
734+#: field:product.product,quality_id:0
735+#: field:product.product.quality,name:0
736+msgid "Quality"
737+msgstr "Calidad"
738+
739+#. module: extra_UOM
740+#: selection:product.product,stock_driver:0
741+msgid "Slab"
742+msgstr "Lámina"
743+
744
745=== added file 'extra_UOM/i18n/extra_UOM.pot.xxx'
746--- extra_UOM/i18n/extra_UOM.pot.xxx 1970-01-01 00:00:00 +0000
747+++ extra_UOM/i18n/extra_UOM.pot.xxx 2011-11-15 20:46:26 +0000
748@@ -0,0 +1,123 @@
749+# Translation of OpenERP Server.
750+# This file contains the translation of the following modules:
751+# * product_size
752+#
753+msgid ""
754+msgstr ""
755+"Project-Id-Version: OpenERP Server 5.0.6\n"
756+"Report-Msgid-Bugs-To: support@openerp.com\n"
757+"POT-Creation-Date: 2009-11-25 13:34:00+0000\n"
758+"PO-Revision-Date: 2009-11-25 13:34:00+0000\n"
759+"Last-Translator: <>\n"
760+"Language-Team: \n"
761+"MIME-Version: 1.0\n"
762+"Content-Type: text/plain; charset=UTF-8\n"
763+"Content-Transfer-Encoding: \n"
764+"Plural-Forms: \n"
765+
766+#. module: product_size
767+#: constraint:product.template:0
768+msgid "Error: UOS must be in a different category than the UOM"
769+msgstr ""
770+
771+#. module: product_size
772+#: constraint:product.product:0
773+#: constraint:res.partner:0
774+msgid "Error: Invalid EAN,UPC,JPC,GTIN code"
775+msgstr ""
776+
777+#. module: product_size
778+#: constraint:ir.ui.view:0
779+msgid "Invalid XML for View Architecture!"
780+msgstr ""
781+
782+#. module: product_size
783+#: model:product.uom,name:product_size.product_uom_ft
784+msgid "Ft"
785+msgstr ""
786+
787+#. module: product_size
788+#: view:product.product:0
789+msgid "Dimensions"
790+msgstr ""
791+
792+#. module: product_size
793+#: model:product.template,name:product_size.product_product_ampco21_product_template
794+msgid "AMPCO21 plate"
795+msgstr ""
796+
797+#. module: product_size
798+#: model:product.template,name:product_size.product_product_ampco25_cut_product_template
799+msgid "Ampco25 Rectangle Bar - Cutted"
800+msgstr ""
801+
802+#. module: product_size
803+#: constraint:product.template:0
804+msgid "Error: The default UOM and the purchase UOM must be in the same category."
805+msgstr ""
806+
807+#. module: product_size
808+#: model:product.uom,name:product_size.product_uom_m2
809+msgid "Sq.M"
810+msgstr ""
811+
812+#. module: product_size
813+#: constraint:res.company:0
814+msgid "Error! You can not create recursive companies."
815+msgstr ""
816+
817+#. module: product_size
818+#: model:product.uom.categ,name:product_size.product_uom_categ_size2
819+msgid "Square Length"
820+msgstr ""
821+
822+#. module: product_size
823+#: field:product.product,thickness:0
824+#: field:stock.production.lot,thickness:0
825+msgid "Thickness"
826+msgstr ""
827+
828+#. module: product_size
829+#: field:product.product,width:0
830+#: field:stock.production.lot,width:0
831+msgid "Width"
832+msgstr ""
833+
834+#. module: product_size
835+#: field:product.product,length:0
836+#: model:product.uom.categ,name:product_size.product_uom_categ_size
837+#: field:stock.production.lot,length:0
838+msgid "Length"
839+msgstr ""
840+
841+#. module: product_size
842+#: model:product.uom,name:product_size.product_uom_m
843+msgid "M"
844+msgstr ""
845+
846+#. module: product_size
847+#: constraint:mrp.bom:0
848+msgid "Error ! You can not create recursive BoM."
849+msgstr ""
850+
851+#. module: product_size
852+#: model:res.company,overdue_msg:product_size.main_company_sa
853+msgid "Would your payment have been carried out after this mail was sent, please consider the present one as void. Do not hesitate to contact our accounting department"
854+msgstr ""
855+
856+#. module: product_size
857+#: model:product.template,name:product_size.product_product_ampco25_product_template
858+msgid "Ampco25 Rectangle Bar"
859+msgstr ""
860+
861+#. module: product_size
862+#: model:ir.module.module,description:product_size.module_meta_information
863+msgid "Manage 3 dimensions size on lots.\n"
864+"Implements demo data for a complex workflow on steel."
865+msgstr ""
866+
867+#. module: product_size
868+#: model:ir.module.module,shortdesc:product_size.module_meta_information
869+msgid "Sizes of lots (width, length, thickness)"
870+msgstr ""
871+
872
873=== added file 'extra_UOM/i18n/fr_BE.po.xxx'
874--- extra_UOM/i18n/fr_BE.po.xxx 1970-01-01 00:00:00 +0000
875+++ extra_UOM/i18n/fr_BE.po.xxx 2011-11-15 20:46:26 +0000
876@@ -0,0 +1,123 @@
877+# Translation of OpenERP Server.
878+# This file contains the translation of the following modules:
879+# * product_size
880+#
881+msgid ""
882+msgstr ""
883+"Project-Id-Version: OpenERP Server 5.0.6\n"
884+"Report-Msgid-Bugs-To: support@openerp.com\n"
885+"POT-Creation-Date: 2009-11-25 13:34:00+0000\n"
886+"PO-Revision-Date: 2009-11-25 13:34:00+0000\n"
887+"Last-Translator: <>\n"
888+"Language-Team: \n"
889+"MIME-Version: 1.0\n"
890+"Content-Type: text/plain; charset=UTF-8\n"
891+"Content-Transfer-Encoding: \n"
892+"Plural-Forms: \n"
893+
894+#. module: product_size
895+#: constraint:product.template:0
896+msgid "Error: UOS must be in a different category than the UOM"
897+msgstr ""
898+
899+#. module: product_size
900+#: constraint:product.product:0
901+#: constraint:res.partner:0
902+msgid "Error: Invalid EAN,UPC,JPC,GTIN code"
903+msgstr ""
904+
905+#. module: product_size
906+#: constraint:ir.ui.view:0
907+msgid "Invalid XML for View Architecture!"
908+msgstr ""
909+
910+#. module: product_size
911+#: model:product.uom,name:product_size.product_uom_ft
912+msgid "Ft"
913+msgstr ""
914+
915+#. module: product_size
916+#: view:product.product:0
917+msgid "Dimensions"
918+msgstr ""
919+
920+#. module: product_size
921+#: model:product.template,name:product_size.product_product_ampco21_product_template
922+msgid "AMPCO21 plate"
923+msgstr ""
924+
925+#. module: product_size
926+#: model:product.template,name:product_size.product_product_ampco25_cut_product_template
927+msgid "Ampco25 Rectangle Bar - Cutted"
928+msgstr ""
929+
930+#. module: product_size
931+#: constraint:product.template:0
932+msgid "Error: The default UOM and the purchase UOM must be in the same category."
933+msgstr ""
934+
935+#. module: product_size
936+#: model:product.uom,name:product_size.product_uom_m2
937+msgid "Sq.M"
938+msgstr ""
939+
940+#. module: product_size
941+#: constraint:res.company:0
942+msgid "Error! You can not create recursive companies."
943+msgstr ""
944+
945+#. module: product_size
946+#: model:product.uom.categ,name:product_size.product_uom_categ_size2
947+msgid "Square Length"
948+msgstr ""
949+
950+#. module: product_size
951+#: field:product.product,thickness:0
952+#: field:stock.production.lot,thickness:0
953+msgid "Thickness"
954+msgstr ""
955+
956+#. module: product_size
957+#: field:product.product,width:0
958+#: field:stock.production.lot,width:0
959+msgid "Width"
960+msgstr ""
961+
962+#. module: product_size
963+#: field:product.product,length:0
964+#: model:product.uom.categ,name:product_size.product_uom_categ_size
965+#: field:stock.production.lot,length:0
966+msgid "Length"
967+msgstr ""
968+
969+#. module: product_size
970+#: model:product.uom,name:product_size.product_uom_m
971+msgid "M"
972+msgstr ""
973+
974+#. module: product_size
975+#: constraint:mrp.bom:0
976+msgid "Error ! You can not create recursive BoM."
977+msgstr ""
978+
979+#. module: product_size
980+#: model:res.company,overdue_msg:product_size.main_company_sa
981+msgid "Would your payment have been carried out after this mail was sent, please consider the present one as void. Do not hesitate to contact our accounting department"
982+msgstr ""
983+
984+#. module: product_size
985+#: model:product.template,name:product_size.product_product_ampco25_product_template
986+msgid "Ampco25 Rectangle Bar"
987+msgstr ""
988+
989+#. module: product_size
990+#: model:ir.module.module,description:product_size.module_meta_information
991+msgid "Manage 3 dimensions size on lots.\n"
992+"Implements demo data for a complex workflow on steel."
993+msgstr ""
994+
995+#. module: product_size
996+#: model:ir.module.module,shortdesc:product_size.module_meta_information
997+msgid "Sizes of lots (width, length, thickness)"
998+msgstr ""
999+
1000
1001=== added directory 'extra_UOM/model'
1002=== added file 'extra_UOM/model/__init__.py'
1003--- extra_UOM/model/__init__.py 1970-01-01 00:00:00 +0000
1004+++ extra_UOM/model/__init__.py 2011-11-15 20:46:26 +0000
1005@@ -0,0 +1,25 @@
1006+# -*- coding: utf-8 -*-
1007+##############################################################################
1008+#
1009+# OpenERP, Open Source Management Solution
1010+#
1011+# This program is free software: you can redistribute it and/or modify
1012+# it under the terms of the GNU Affero General Public License as
1013+# published by the Free Software Foundation, either version 3 of the
1014+# License, or (at your option) any later version.
1015+#
1016+# This program is distributed in the hope that it will be useful,
1017+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1018+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1019+# GNU Affero General Public License for more details.
1020+#
1021+# You should have received a copy of the GNU Affero General Public License
1022+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1023+#
1024+##############################################################################
1025+import extra_UOM
1026+import product
1027+import sale
1028+import stock
1029+import account_invoice
1030+import purchase
1031
1032=== added file 'extra_UOM/model/account_invoice.py'
1033--- extra_UOM/model/account_invoice.py 1970-01-01 00:00:00 +0000
1034+++ extra_UOM/model/account_invoice.py 2011-11-15 20:46:26 +0000
1035@@ -0,0 +1,34 @@
1036+
1037+# -*- coding: utf-8 -*-
1038+##############################################################################
1039+#
1040+# OpenERP, Open Source Management Solution
1041+#
1042+# This program is free software: you can redistribute it and/or modify
1043+# it under the terms of the GNU Affero General Public License as
1044+# published by the Free Software Foundation, either version 3 of the
1045+# License, or (at your option) any later version.
1046+#
1047+# This program is distributed in the hope that it will be useful,
1048+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1049+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1050+# GNU Affero General Public License for more details.
1051+#
1052+# You should have received a copy of the GNU Affero General Public License
1053+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1054+#
1055+##############################################################################
1056+from osv import fields,osv
1057+import decimal_precision as dp
1058+from tools.translate import _
1059+
1060+
1061+class account_invoice_line(osv.osv):
1062+ _inherit = "account.invoice.line"
1063+
1064+ _columns = {
1065+ 'prod_lot_id':fields.many2one('stock.production.lot','Production lot'),
1066+ 'pieces':fields.integer('Pieces',require=True),
1067+ }
1068+
1069+account_invoice_line()
1070
1071=== added file 'extra_UOM/model/extra_UOM.py'
1072--- extra_UOM/model/extra_UOM.py 1970-01-01 00:00:00 +0000
1073+++ extra_UOM/model/extra_UOM.py 2011-11-15 20:46:26 +0000
1074@@ -0,0 +1,123 @@
1075+# -*- encoding: utf-8 -*-
1076+##############################################################################
1077+#
1078+# OpenERP, Open Source Management Solution
1079+#
1080+# This program is free software: you can redistribute it and/or modify
1081+# it under the terms of the GNU Affero General Public License as
1082+# published by the Free Software Foundation, either version 3 of the
1083+# License, or (at your option) any later version.
1084+#
1085+# This program is distributed in the hope that it will be useful,
1086+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1087+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1088+# GNU Affero General Public License for more details.
1089+#
1090+# You should have received a copy of the GNU Affero General Public License
1091+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1092+#
1093+##############################################################################
1094+
1095+#import datetime
1096+from osv import fields,osv
1097+import pooler
1098+import decimal_precision as dp
1099+
1100+
1101+#this code must be in stock.py
1102+class stock_production_lot(osv.osv):
1103+
1104+ _inherit = 'stock.production.lot'
1105+
1106+
1107+ def _calc_lot_area(self, l, h, w):
1108+ obj_uom = self.pool.get('product.uom')
1109+ r = obj_uom._calc_area(l,h)
1110+ if w:
1111+ r = obj_uom._calc_area(r,w)
1112+ return r
1113+
1114+
1115+ def _calc_lot_factor(self, cr, uid, ids, name, arg, context=None):
1116+ if context is None:
1117+ context = {}
1118+ if not len(ids):
1119+ return []
1120+ res = {}
1121+ for id in ids:
1122+ # creates a UOM model to calculate lot factor
1123+ r_brw = self.browse(cr, uid, id, context)
1124+ res[id] = self._calc_lot_area(r_brw.length, r_brw.heigth, r_brw.width)
1125+# obj_uom = self.pool.get('product.uom')
1126+# r = self.read(cr, uid, id, ['length','heigth','width'], context)
1127+# res[id] = obj_uom._calc_area(r['length'],r['heigth'])
1128+# if r['width']:
1129+# res[id] = obj_uom._calc_area(res[id],r['width'])
1130+ return res
1131+
1132+
1133+ def on_change_size(self, cr, uid, ids, length, heigth, width):
1134+ res = {'value':{'lot_factor':self._calc_lot_area(length, heigth, width)}}
1135+ return res
1136+
1137+ #~ PORQUE EL ESTA DICIENDO QUE NO USEMOS ESTE CAMPO Y USEMOS WAREHOUSE QUE
1138+ #~ ES LO QUE SE QUIERE CON ELLO
1139+ _columns = {
1140+ 'length': fields.float('Length (m)', digits_compute=dp.get_precision('Extra UOM data')),
1141+ 'width': fields.float('Width (m)', digits_compute=dp.get_precision('Extra UOM data')),
1142+ 'heigth': fields.float('Heigth (m)', digits_compute=dp.get_precision('Extra UOM data')),
1143+# 'lot_location': fields.char('Location', size=10, translate=True), # don't use this field use wharehouse
1144+ 'lot_factor': fields.function(_calc_lot_factor, method=True, type="float", string='Lot Factor', digits_compute=dp.get_precision('Product UoM')),
1145+ }
1146+
1147+
1148+ _defaults = {
1149+ 'length':0.0,
1150+ 'width' :0.0,
1151+ 'heigth':0.0,
1152+ }
1153+
1154+
1155+ _sql_constraints = [
1156+ ('length_gt_zero', 'CHECK (length>=0)', 'The length must be >= 0!'),
1157+ ('width_gt_zero', 'CHECK (width>=0)', 'The width must be >= 0!'),
1158+ ('heigth_gt_zero', 'CHECK (heigth>=0)', 'The heigth must be >= 0!'),
1159+ ]
1160+
1161+
1162+ def name_get(self,cr, uid, ids, context):
1163+ if not len(ids):
1164+ return []
1165+# reads = self.read(cr, uid, ids, ['id','name', 'prefix', 'ref','length','heigth','width','lot_factor','move_ids'], context)
1166+ reads = self.browse(cr, uid, ids, context)
1167+# l = self.pool.get('stock.production.lot').browse(cr,uid,ids)
1168+ res = []
1169+ for r in reads:
1170+ #TODO optimize with only one read for all ids, or maybe use "self" data
1171+ l = self.pool.get('stock.production.lot').browse(cr,uid,r['id'])
1172+ drv = l.product_id.stock_driver
1173+ if drv == 'tile':
1174+ name = '%s (%sx%s)' % (r.name.strip(),r.length,r.heigth)
1175+ elif drv == 'slab':
1176+ name = '%s (%sx%s)' % (r.name.strip(),r.length,r.heigth)
1177+ elif drv == 'block':
1178+ name = '%s (%sx%sx%s)' % (r.name.strip(),r.length,r.heigth,r.width)
1179+ else: # call inherited name_get()
1180+ this_id = [r.id]
1181+ super_name = super(stock_production_lot,self).name_get(cr, uid, this_id, context)
1182+ name = super_name[0][-1]
1183+ res.append((r.id, name))
1184+ return res
1185+stock_production_lot()
1186+
1187+# IMPORTANTE:
1188+# En sale_order se debe incorporar una validacion que impida vender un lote parcial si el stock_driver es slab o block
1189+
1190+#class sale_order(osv.osv):
1191+# _inherit = 'sale.order.line'
1192+# _columns = {
1193+# 'prodlot_id' : fields.many2one('stock.production.lot', 'Production lot', help="Production lot is used to put a serial number on the production"),
1194+# }
1195+#sale_order()
1196+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1197+
1198
1199=== added file 'extra_UOM/model/product.py'
1200--- extra_UOM/model/product.py 1970-01-01 00:00:00 +0000
1201+++ extra_UOM/model/product.py 2011-11-15 20:46:26 +0000
1202@@ -0,0 +1,219 @@
1203+# -*- coding: utf-8 -*-
1204+##############################################################################
1205+#
1206+# OpenERP, Open Source Management Solution
1207+#
1208+# This program is free software: you can redistribute it and/or modify
1209+# it under the terms of the GNU Affero General Public License as
1210+# published by the Free Software Foundation, either version 3 of the
1211+# License, or (at your option) any later version.
1212+#
1213+# This program is distributed in the hope that it will be useful,
1214+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1215+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1216+# GNU Affero General Public License for more details.
1217+#
1218+# You should have received a copy of the GNU Affero General Public License
1219+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1220+#
1221+##############################################################################
1222+from osv import fields,osv
1223+import decimal_precision as dp
1224+from tools.translate import _
1225+
1226+
1227+
1228+
1229+class product_product_features(osv.osv):
1230+
1231+ _name = 'product.product.features'
1232+
1233+ _columns = {
1234+ 'name':fields.char('Name',128,required=True),
1235+ 'type':fields.selection([('layout','Layout'),('quality','Quality'),('material','Material'),('color','Color'),('finish','Finish')],'Type', required = True),
1236+
1237+ }
1238+ _defaults = {
1239+ 'name': lambda *a: None,
1240+ 'type': lambda *a: 'layout',
1241+ }
1242+
1243+
1244+product_product_features()
1245+
1246+class product_product_tile_format(osv.osv):
1247+ """
1248+ OpenERP Model : product_product_finish
1249+ """
1250+
1251+ _name = 'product.product.tile.format'
1252+ _description = __doc__
1253+
1254+# def _calc_name(self, cr, uid, ids, name, arg, context=None):
1255+# if context is None:
1256+# context = {}
1257+# if not len(ids):
1258+# return []
1259+# res = []
1260+# for id in ids:
1261+# r = self.read(cr, uid, id, [], context)
1262+# print r
1263+# name = '(%sx%s)' % (r['length']+100,r['heigth']*100)
1264+# res.append((r['id'], name))
1265+# return res
1266+
1267+ #TODO el campo name no se necesita pero si no se pone da error
1268+ #TODO probablemente la solucion sea crear name como campo function en lugar de usar el get_name
1269+ _columns = {
1270+ 'name':fields.char('Tile format', size=16, required=False, readonly=True),
1271+# 'name': fields.function(_calc_name, method=True, type="string", string='Format'),
1272+
1273+ 'length': fields.float('Length (m)', digits_compute=dp.get_precision('Extra UOM data')),
1274+ 'heigth': fields.float('Heigth (m)', digits_compute=dp.get_precision('Extra UOM data')),
1275+ 'kit':fields.boolean('Is kit')
1276+ }
1277+ _defaults = {
1278+ 'length': lambda *a: 0,
1279+ 'heigth': lambda *a: 0,
1280+ 'kit': lambda *a: False,
1281+ }
1282+
1283+ def name_get(self,cr, uid, ids, context):
1284+ if not len(ids):
1285+ return []
1286+ reads = self.read(cr, uid, ids, [], context)
1287+ res = []
1288+ for r in reads:
1289+ name = '(%s x %s) cm' % (r['length']*100,r['heigth']*100)
1290+ res.append((r['id'], name))
1291+ return res
1292+product_product_tile_format()
1293+
1294+
1295+class product_product_pricelist_group(osv.osv):
1296+ """
1297+ OpenERP Model : product_product_pricelist_group
1298+ """
1299+
1300+ _name = 'product.product.pricelist.group'
1301+ _description = __doc__
1302+
1303+ _columns = {
1304+ 'name':fields.char('Pricelist group', size=64, required=False, readonly=False),
1305+ }
1306+ _defaults = {
1307+ 'name': lambda *a: None,
1308+ }
1309+product_product_pricelist_group()
1310+
1311+
1312+class product_product(osv.osv):
1313+ # TODO product.procudt or product.template
1314+ _inherit = 'product.product'
1315+
1316+ _columns = {
1317+ 'stock_driver' : fields.selection([('normal','Normal'),('tile','Tile'),('slab', 'Slab'), ('block', 'Block')], 'Stock driver', required=True,
1318+ help='This field set the internal metod to handle stock'),
1319+ 'material_id': fields.many2one('product.product.features', 'Material', domain=[('type','=','material')]),
1320+ 'layout_id': fields.many2one('product.product.features', 'Layout', domain=[('type','=','layout')]),
1321+ 'color_id': fields.many2one('product.product.features', 'Color', domain=[('type','=','color')]),
1322+ 'quality_id': fields.many2one('product.product.features', 'Quality', domain=[('type','=','quality')]),
1323+ 'finish_id': fields.many2one('product.product.features', 'Finish', domain=[('type','=','finish')]),
1324+ 'tile_format_id': fields.many2one('product.product.tile.format', 'Tile format'),
1325+ 'thickness':fields.integer('Thickness (mm)'),
1326+ 'pricelist_group_id': fields.many2one('product.product.pricelist.group', 'Pricelist group'),
1327+ 'origin_country_id': fields.many2one('res.country', 'Country of Origin'),
1328+ 'similarity_ids': fields.many2many('product.product', 'rel_product_product_similarity', 'product_id1', 'product_id2', 'Similar products')
1329+# TODO incorporar siglas (para las 6 letras del codigo) [GRILEO] GRIS LEONA
1330+ }
1331+
1332+ _defaults = {
1333+ 'stock_driver' : lambda *a : 'normal',
1334+ 'thickness': lambda *a : 0,
1335+ }
1336+
1337+ _sql_constraints = [
1338+ ('thickness_gt_zero', 'CHECK (thickness>=0)', 'The thickness must be >= 0!'),
1339+# ('volume_gt_zero', 'CHECK (volume>=0)', 'The volume must be >= 0!'),
1340+# ('weight_gt_zero', 'CHECK (weight>=0)', 'The weight must be >= 0!'),
1341+# ('weight_net_gt_zero', 'CHECK (weight_net>=0)', 'The net weight must be >= 0!'),
1342+ ]
1343+
1344+
1345+product_product()
1346+
1347+
1348+class product_uom(osv.osv):
1349+ _inherit = 'product.uom'
1350+
1351+# def _compute_qty(self, cr, uid, from_uom_id, qty, to_uom_id=False):
1352+## print '_compute_qty: %s' % (qty)
1353+##TODO: Sentencia IF que verifica si debo usar el estandard o el personalizado.
1354+# return super(product_uom,self)._compute_qty(cr, uid, from_uom_id, qty, to_uom_id)
1355+
1356+# def _compute_qty_obj(self, cr, uid, from_unit, qty, to_unit, context=None):
1357+## print '_compute_qty_obj: %s % s' % (from_unit.name, to_unit.name)
1358+# return super(product_uom,self)._compute_qty_obj(cr, uid, from_unit, qty, to_unit, context)
1359+
1360+# def _compute_price(self, cr, uid, from_uom_id, price, to_uom_id=False):
1361+## print '_compute_price: %s' % (price)
1362+# return super(product_uom,self)._compute_price(cr, uid, from_uom_id, price, to_uom_id)
1363+
1364+ #Tabla de Readonly
1365+
1366+##############################################################
1367+# # Qty # Pieces # Length # Heigth # Width #
1368+# # # # # # #
1369+# Normal # # R # R # R # R #
1370+# # # # # # #
1371+# Tile # R # # R # R # R #
1372+# # # # # # #
1373+# Slab # R # # # # R #
1374+# # # # # # #
1375+# Block # R # # # # #
1376+# # # # # # #
1377+##############################################################
1378+# R = Reanonly
1379+
1380+
1381+ # New metods for area calculation
1382+ def _calc_area(self,f1,f2):
1383+ '''Calculates an truncate f1*f2, set 4 decimal places
1384+ No error check'''
1385+ return int(f1*f2*10000)/10000.0
1386+
1387+
1388+ def _compute_area_tile(self, cr, uid,ids, pieces, length, heigth, context=None):
1389+ return self._calc_area(pieces,self._calc_area(length,heigth))
1390+
1391+
1392+ def _compute_area_slab(self, cr, uid,ids, pieces, length, heigth, context=None):
1393+ return self._calc_area(pieces,self._calc_area(length,heigth))
1394+
1395+
1396+ def _compute_area_block(self, cr, uid,ids, length, heigth, width, context=None):
1397+ return self._calc_area(width,self._calc_area(length,heigth))
1398+
1399+
1400+ def _compute_area(self, cr, uid,ids, driver, pieces, length, heigth, width, context=None):
1401+ #TODO check all values for inconsistencies f.ex length=None
1402+ if driver in ('tile','slab'):
1403+ return self._compute_area_tile(cr, uid,ids, pieces, length, heigth)
1404+ elif driver == 'block':
1405+ return self._compute_area_block(cr, uid,ids, length, heigth, width)
1406+ #~ else:
1407+ #~ raise osv.except_osv(_('Error'), _('Unkoun stock driver (%s): %s')%('product_uom._compute_area',driver,))
1408+
1409+
1410+ # New metods for pieces calculation
1411+ def _compute_pieces(self, cr, uid,ids, driver, area, lot_factor, context=None):
1412+ if driver in ('tile','slab'):
1413+ return lot_factor and int(area / lot_factor)
1414+ elif driver == 'block':
1415+ return 1 #In block allways pieces = 1
1416+ #~ else:
1417+ #~ raise osv.except_osv(_('Error'), _('Unkoun stock driver (%s): %s')%('product_uom._compute_pieces',driver,))
1418+
1419+product_uom()
1420+
1421+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
1422
1423=== added file 'extra_UOM/model/purchase.py'
1424--- extra_UOM/model/purchase.py 1970-01-01 00:00:00 +0000
1425+++ extra_UOM/model/purchase.py 2011-11-15 20:46:26 +0000
1426@@ -0,0 +1,154 @@
1427+# -*- coding: utf-8 -*-
1428+##############################################################################
1429+#
1430+# OpenERP, Open Source Management Solution
1431+#
1432+# This program is free software: you can redistribute it and/or modify
1433+# it under the terms of the GNU Affero General Public License as
1434+# published by the Free Software Foundation, either version 3 of the
1435+# License, or (at your option) any later version.
1436+#
1437+# This program is distributed in the hope that it will be useful,
1438+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1439+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1440+# GNU Affero General Public License for more details.
1441+#
1442+# You should have received a copy of the GNU Affero General Public License
1443+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1444+#
1445+##############################################################################
1446+from osv import fields,osv
1447+import decimal_precision as dp
1448+import netsvc
1449+from tools.translate import _
1450+
1451+class purchase_order_line(osv.osv):
1452+
1453+
1454+ def product_id_change(self, cr, uid, ids, pricelist, product, qty, uom, partner_id, date_order=False, fiscal_position=False, date_planned=False, name=False, price_unit=False, notes=False):
1455+ '''
1456+ This method loads the withholding concept to a product automatically
1457+ '''
1458+ res = super(purchase_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty, uom, partner_id, date_order, fiscal_position, date_planned, name, price_unit, notes)
1459+ if product:
1460+ product_obj = self.pool.get('product.product')
1461+ produc_brw = product_obj.browse(cr,uid,product)
1462+ res['value']['track_incoming']=produc_brw.track_incoming
1463+ else:
1464+ res['value']['track_incoming']= False
1465+ print 'ESTO ES EEL ONCHANGE DE PRODUCT OUM EXTRZA'
1466+
1467+ return res
1468+
1469+
1470+ def on_change_qty(self,cr,uid,ids,product_id,id_lot,context=None):
1471+ if not context:
1472+ context = {}
1473+ res = {'value': {}}
1474+
1475+ if id_lot and product_id:
1476+ spl_obj = self.pool.get('stock.production.lot')
1477+ spl_brw = spl_obj.browse(cr,uid,id_lot)
1478+ pieces = self.on_change_piece(cr,uid,ids,product_id,id_lot,context=None)
1479+ res['value'].update({'pieces':pieces})
1480+ res['value'].update({'product_uom_qty':pieces*spl_brw.lot_factor})
1481+ return res
1482+
1483+ def on_change_piece(self,cr,uid,ids,product_id,id_lot,context=None):
1484+ if not context:
1485+ context = {}
1486+ stock_obj = self.pool.get('stock.production.lot')
1487+ if id_lot and product_id:
1488+ lot_brw = stock_obj.browse(cr,uid,id_lot)
1489+ print "lot_Factor",lot_brw.lot_factor
1490+ print "stock_available",lot_brw.stock_available
1491+
1492+ return lot_brw.lot_factor and int(lot_brw.stock_available/lot_brw.lot_factor) or 0
1493+
1494+
1495+
1496+ # TODO product.procudt or product.template
1497+ _inherit = 'purchase.order.line'
1498+
1499+ _columns = {
1500+ 'prod_lot_id':fields.many2one('stock.production.lot','Production lot'),
1501+ 'pieces':fields.integer('Pieces',require=True),
1502+ 'track_incoming':fields.boolean('Track Incoming Lot'),
1503+ }
1504+ # TODO agregar validacion para requerir el nro de lote (track_outgoing)
1505+
1506+
1507+
1508+purchase_order_line()
1509+
1510+
1511+
1512+
1513+class purchase_order(osv.osv):
1514+
1515+ _inherit = 'purchase.order'
1516+
1517+ def inv_line_create(self, cr, uid, a, ol):
1518+ '''
1519+ This method adds the withholding concept to an invoice.
1520+ '''
1521+ data = super(purchase_order, self).inv_line_create(cr, uid, a, ol)
1522+ data[2]['prod_lot_id'] = ol.prod_lot_id and ol.prod_lot_id.id
1523+ data[2]['pieces'] = ol.pieces
1524+ data[2]['track_incoming'] = ol.track_incoming
1525+ return data
1526+
1527+ def action_picking_create(self,cr, uid, ids, *args):
1528+ picking_id = False
1529+ for order in self.browse(cr, uid, ids):
1530+ loc_id = order.partner_id.property_stock_supplier.id
1531+ istate = 'none'
1532+ if order.invoice_method=='picking':
1533+ istate = '2binvoiced'
1534+ pick_name = self.pool.get('ir.sequence').get(cr, uid, 'stock.picking.in')
1535+ picking_id = self.pool.get('stock.picking').create(cr, uid, {
1536+ 'name': pick_name,
1537+ 'origin': order.name+((order.origin and (':'+order.origin)) or ''),
1538+ 'type': 'in',
1539+ 'address_id': order.dest_address_id.id or order.partner_address_id.id,
1540+ 'invoice_state': istate,
1541+ 'purchase_id': order.id,
1542+ 'company_id': order.company_id.id,
1543+ 'move_lines' : [],
1544+ })
1545+ todo_moves = []
1546+ for order_line in order.order_line:
1547+ if not order_line.product_id:
1548+ continue
1549+ if order_line.product_id.product_tmpl_id.type in ('product', 'consu'):
1550+ dest = order.location_id.id
1551+ move = self.pool.get('stock.move').create(cr, uid, {
1552+ 'name': order.name + ': ' +(order_line.name or ''),
1553+ 'product_id': order_line.product_id.id,
1554+ 'product_qty': order_line.product_qty,
1555+ 'product_uos_qty': order_line.product_qty,
1556+ 'prodlot_id':order_line.prod_lot_id.id,
1557+ 'pieces':order_line.pieces,
1558+ 'product_uom': order_line.product_uom.id,
1559+ 'product_uos': order_line.product_uom.id,
1560+ 'date': order_line.date_planned,
1561+ 'date_expected': order_line.date_planned,
1562+ 'location_id': loc_id,
1563+ 'location_dest_id': dest,
1564+ 'picking_id': picking_id,
1565+ 'move_dest_id': order_line.move_dest_id.id,
1566+ 'state': 'draft',
1567+ 'purchase_line_id': order_line.id,
1568+ 'company_id': order.company_id.id,
1569+ 'price_unit': order_line.price_unit
1570+ })
1571+ if order_line.move_dest_id:
1572+ self.pool.get('stock.move').write(cr, uid, [order_line.move_dest_id.id], {'location_id':order.location_id.id})
1573+ todo_moves.append(move)
1574+ self.pool.get('stock.move').action_confirm(cr, uid, todo_moves)
1575+ self.pool.get('stock.move').force_assign(cr, uid, todo_moves)
1576+ wf_service = netsvc.LocalService("workflow")
1577+ wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
1578+ return picking_id
1579+purchase_order()
1580+
1581
1582=== added file 'extra_UOM/model/sale.py'
1583--- extra_UOM/model/sale.py 1970-01-01 00:00:00 +0000
1584+++ extra_UOM/model/sale.py 2011-11-15 20:46:26 +0000
1585@@ -0,0 +1,110 @@
1586+# -*- coding: utf-8 -*-
1587+##############################################################################
1588+#
1589+# OpenERP, Open Source Management Solution
1590+#
1591+# This program is free software: you can redistribute it and/or modify
1592+# it under the terms of the GNU Affero General Public License as
1593+# published by the Free Software Foundation, either version 3 of the
1594+# License, or (at your option) any later version.
1595+#
1596+# This program is distributed in the hope that it will be useful,
1597+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1598+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1599+# GNU Affero General Public License for more details.
1600+#
1601+# You should have received a copy of the GNU Affero General Public License
1602+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1603+#
1604+##############################################################################
1605+from osv import fields,osv
1606+import decimal_precision as dp
1607+from tools.translate import _
1608+
1609+class sale_order_line(osv.osv):
1610+
1611+ def invoice_line_create(self, cr, uid, ids, context={}):
1612+ create_ids = super(sale_order_line, self).invoice_line_create(cr, uid, ids, context)
1613+ invoice_line_brws = self.pool.get('account.invoice.line').browse(cr, uid, create_ids)
1614+ order_line_sale_brws = self.browse(cr, uid, ids)
1615+ for line_invoice in invoice_line_brws: #lineas de la factura
1616+ for line_sale in order_line_sale_brws: #lineas de la orden de venta
1617+ if line_sale.product_id==line_invoice.product_id: #si es la misma linea
1618+ self.pool.get('account.invoice.line').write(cr, uid, line_invoice.id, {'prod_lot_id':line_sale.prod_lot_id.id,'pieces':line_sale.pieces,'track_outgoing':line_sale.track_outgoing})
1619+ return create_ids
1620+
1621+
1622+
1623+
1624+ def product_id_change(self, cr, uid, ids, pricelist, product, qty=0,uom=False, qty_uos=0, uos=False, name='', partner_id=False,lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False):
1625+
1626+ res = super(sale_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty,uom, qty_uos, uos, name, partner_id,lang, update_tax, date_order, packaging, fiscal_position, flag)
1627+ if product:
1628+ product_obj = self.pool.get('product.product')
1629+ produc_brw = product_obj.browse(cr,uid,product)
1630+ res['value']['track_outgoing']=produc_brw.track_outgoing
1631+ else:
1632+ res['value']['track_outgoing']= False
1633+
1634+ return res
1635+
1636+
1637+
1638+
1639+
1640+ def on_change_qty(self,cr,uid,ids,product_id,id_lot,context=None):
1641+ if not context:
1642+ context = {}
1643+ res = {'value': {}}
1644+
1645+ if id_lot and product_id:
1646+ spl_obj = self.pool.get('stock.production.lot')
1647+ spl_brw = spl_obj.browse(cr,uid,id_lot)
1648+ pieces = self.on_change_piece(cr,uid,ids,product_id,id_lot,context=None)
1649+ res['value'].update({'pieces':pieces})
1650+ res['value'].update({'product_uom_qty':pieces*spl_brw.lot_factor})
1651+ return res
1652+
1653+ def on_change_piece(self,cr,uid,ids,product_id,id_lot,context=None):
1654+ if not context:
1655+ context = {}
1656+ stock_obj = self.pool.get('stock.production.lot')
1657+ if id_lot and product_id:
1658+ lot_brw = stock_obj.browse(cr,uid,id_lot)
1659+
1660+ return lot_brw.lot_factor and int(lot_brw.stock_available/lot_brw.lot_factor) or 0
1661+
1662+ # TODO product.procudt or product.template
1663+ _inherit = 'sale.order.line'
1664+
1665+ _columns = {
1666+ 'prod_lot_id':fields.many2one('stock.production.lot','Production lot'),
1667+ 'pieces':fields.integer('Pieces',require=True),
1668+ 'track_outgoing':fields.boolean('Track Outgoing Lot'),
1669+ }
1670+ # TODO agregar validacion para requerir el nro de lote (track_outgoing)
1671+
1672+
1673+
1674+sale_order_line()
1675+
1676+class sale_order(osv.osv):
1677+
1678+ def action_ship_create(self, cr, uid, ids, *args):
1679+ result = super(sale_order, self).action_ship_create(cr, uid, ids, *args)
1680+ for order in self.browse(cr, uid, ids, context={}):
1681+ for ol in order.order_line:
1682+ for sm in ol.move_ids:
1683+ self.pool.get('stock.move').write(cr, uid, sm.id, {
1684+ 'prodlot_id':ol.prod_lot_id and ol.prod_lot_id.id,'pieces_qty':ol.pieces})
1685+ return result
1686+
1687+ _inherit = 'sale.order'
1688+
1689+
1690+
1691+
1692+
1693+sale_order()
1694+
1695+
1696
1697=== added file 'extra_UOM/model/stock.py'
1698--- extra_UOM/model/stock.py 1970-01-01 00:00:00 +0000
1699+++ extra_UOM/model/stock.py 2011-11-15 20:46:26 +0000
1700@@ -0,0 +1,84 @@
1701+# -*- coding: utf-8 -*-
1702+##############################################################################
1703+#
1704+# OpenERP, Open Source Management Solution
1705+#
1706+# This program is free software: you can redistribute it and/or modify
1707+# it under the terms of the GNU Affero General Public License as
1708+# published by the Free Software Foundation, either version 3 of the
1709+# License, or (at your option) any later version.
1710+#
1711+# This program is distributed in the hope that it will be useful,
1712+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1713+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1714+# GNU Affero General Public License for more details.
1715+#
1716+# You should have received a copy of the GNU Affero General Public License
1717+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1718+#
1719+##############################################################################
1720+from osv import fields,osv
1721+import decimal_precision as dp
1722+
1723+class stock_move(osv.osv):
1724+ _inherit = 'stock.move'
1725+
1726+ def _compute_pieces(self, cr, uid, ids, name, arg, context=None):
1727+ move = self.browse(cr, uid, ids)
1728+ res = {}
1729+ for m in move:
1730+ if m.product_id.stock_driver in ('tile','slab','block'):
1731+ uom = self.pool.get('product.uom')
1732+ pieces = uom._compute_pieces(cr, uid, m.product_id.stock_driver, m.product_qty, m.prodlot_id.lot_factor, context)
1733+ res[m.id] = pieces
1734+ else:
1735+ res[m.id] = 0
1736+ return res
1737+
1738+ _columns = {
1739+ 'pieces_qty': fields.function(_compute_pieces, method=True, type="integer", string='Pieces'),
1740+ 'length': fields.char('Length (m)',size=64),
1741+ 'width': fields.float('Width (m)'),
1742+ 'heigth': fields.float('Heigth (m)'),
1743+
1744+ }
1745+
1746+stock_move()
1747+
1748+
1749+class stock_inventory_line(osv.osv):
1750+ """
1751+ stock_inventory_line
1752+ """
1753+
1754+ def _compute_pieces(self, cr, uid, ids, name, arg, context=None):
1755+ line = self.browse(cr, uid, ids)
1756+ res = {}
1757+ for l in line:
1758+ if l.product_id.stock_driver in ('tile','slab','block'):
1759+ uom = self.pool.get('product.uom')
1760+ pieces = uom._compute_pieces(cr, uid, l.product_id.stock_driver, l.product_qty, l.prod_lot_id.lot_factor, context)
1761+ res[l.id] = pieces
1762+ else:
1763+ res[l.id] = 0
1764+ return res
1765+
1766+ _inherit = 'stock.inventory.line'
1767+
1768+ _columns = {
1769+ 'pieces_qty': fields.function(_compute_pieces, method=True, type="integer", string='Pieces'),
1770+ }
1771+
1772+stock_inventory_line()
1773+
1774+class stock_picking(osv.osv):
1775+ _inherit = 'stock.picking'
1776+
1777+ def _invoice_line_hook(self, cr, uid, move_line, invoice_line_id):
1778+ ail_obj = self.pool.get('account.invoice.line')
1779+ ail_obj.write(cr,uid,invoice_line_id,{'prod_lot_id':move_line.prodlot_id and move_line.prodlot_id.id,'pieces':move_line.pieces_qty},context=None)
1780+ return super(stock_picking,self)._invoice_line_hook(cr, uid, move_line, invoice_line_id)
1781+
1782+stock_picking()
1783+
1784+
1785
1786=== added directory 'extra_UOM/report'
1787=== added directory 'extra_UOM/security'
1788=== added directory 'extra_UOM/view'
1789=== added file 'extra_UOM/view/account_invoice.xml'
1790--- extra_UOM/view/account_invoice.xml 1970-01-01 00:00:00 +0000
1791+++ extra_UOM/view/account_invoice.xml 2011-11-15 20:46:26 +0000
1792@@ -0,0 +1,33 @@
1793+<?xml version="1.0" encoding="utf-8"?>
1794+<openerp>
1795+ <data>
1796+ <record model="ir.ui.view" id="view_account_invoice_UOM">
1797+ <field name="name">invoice.UOM</field>
1798+ <field name="model">account.invoice.line</field>
1799+ <field name="inherit_id" ref="account.view_invoice_line_tree" />
1800+ <field name="type">form</field>
1801+ <field name="arch" type="xml">
1802+ <xpath expr='/tree/field[@name="price_unit"]' position="after" >
1803+ <field name="pieces" />
1804+ <field name="prod_lot_id" />
1805+
1806+
1807+ </xpath>
1808+ </field>
1809+ </record>
1810+
1811+ <record model="ir.ui.view" id="view_account_invoice_form_UOM">
1812+ <field name="name">invoice.form.UOM</field>
1813+ <field name="model">account.invoice.line</field>
1814+ <field name="inherit_id" ref="account.view_invoice_line_form" />
1815+ <field name="type">form</field>
1816+ <field name="arch" type="xml">
1817+ <xpath expr='/form/notebook/page[@string="Line"]/field[@name="product_id"]' position="after" >
1818+ <field name="pieces" />
1819+ <field name="prod_lot_id" />
1820+
1821+ </xpath>
1822+ </field>
1823+ </record>
1824+ </data>
1825+</openerp>
1826
1827=== added file 'extra_UOM/view/extra_UOM_view.xml'
1828--- extra_UOM/view/extra_UOM_view.xml 1970-01-01 00:00:00 +0000
1829+++ extra_UOM/view/extra_UOM_view.xml 2011-11-15 20:46:26 +0000
1830@@ -0,0 +1,224 @@
1831+<?xml version="1.0" encoding="utf-8"?>
1832+<openerp>
1833+ <data>
1834+
1835+ <record model="ir.ui.view" id="view_production_lot_tree_extra_UOM">
1836+ <field name="name">stock.production.lot.tree</field>
1837+ <field name="model">stock.production.lot</field>
1838+ <field name="inherit_id" ref="stock.view_production_lot_tree" />
1839+ <field name="type">tree</field>
1840+ <field name="arch" type="xml">
1841+ <field name="date" position="after">
1842+ <field name="length" />
1843+ <field name="heigth" />
1844+ <field name="width" />
1845+ <field name="lot_factor" />
1846+ </field>
1847+ </field>
1848+ </record>
1849+
1850+ <record model="ir.ui.view" id="view_production_lot_form_extra_UOM">
1851+ <field name="name">stock.production.lot.form</field>
1852+ <field name="model">stock.production.lot</field>
1853+ <field name="inherit_id" ref="stock.view_production_lot_form" />
1854+ <field name="type">form</field>
1855+ <field name="arch" type="xml">
1856+ <field name="date" position="after">
1857+ <field name="length" on_change="on_change_size(length,heigth,width)" select="1"/>
1858+ <field name="heigth" on_change="on_change_size(length,heigth,width)" select="1"/>
1859+<!-- TODO attrs don't work-->
1860+ <field name="width" on_change="on_change_size(length,heigth,width)" select="1" attrs="{'readonly':[('product_product.stock_driver','!=','block')]}"/>
1861+ <field name="lot_factor" />
1862+ </field>
1863+ </field>
1864+ </record>
1865+
1866+<!-- stock.move-->
1867+ <record model="ir.ui.view" id="view_move_tree_extra_UOM">
1868+ <field name="name">stock.move.tree</field> <!--nombre de la vista-->
1869+ <field name="model">stock.move</field> <!--Objeto-->
1870+ <field name="inherit_id" ref="stock.view_move_tree" /> <!--ID xml-->
1871+ <field name="type">tree</field> <!--Tipo de Vista-->
1872+ <field name="arch" type="xml">
1873+ <field name="tracking_id" position="before">
1874+ <field name="pieces_qty"/>
1875+ </field>
1876+ </field>
1877+ </record>
1878+
1879+ <record model="ir.ui.view" id="view_move_form_extra_UOM">
1880+ <field name="name">stock.move.form</field> <!--nombre de la vista-->
1881+ <field name="model">stock.move</field> <!--Objeto-->
1882+ <field name="inherit_id" ref="stock.view_move_form" /> <!--ID xml-->
1883+ <field name="type">form</field> <!--Tipo de Vista-->
1884+ <field name="arch" type="xml">
1885+ <xpath expr='/form/group/button[@string="Split"]' position="after">
1886+ <field name="pieces_qty"/>
1887+ </xpath>
1888+
1889+ </field>
1890+ </record>
1891+
1892+ <record model="ir.ui.view" id="view_move_form_picking_extra_UOM">
1893+ <field name="name">stock.move..picking.form</field> <!--nombre de la vista-->
1894+ <field name="model">stock.move</field> <!--Objeto-->
1895+ <field name="inherit_id" ref="stock.view_move_form_reception_picking" /> <!--ID xml-->
1896+ <field name="type">form</field> <!--Tipo de Vista-->
1897+ <field name="arch" type="xml">
1898+ <xpath expr='/form/group/button[@string="Process"]' position="after">
1899+ <field name="pieces_qty"/>
1900+ </xpath>
1901+
1902+ </field>
1903+ </record>
1904+
1905+
1906+
1907+
1908+
1909+
1910+
1911+
1912+
1913+
1914+<!-- sale.order-->
1915+ <record model="ir.ui.view" id="sale_view_order_form_extra_UOM">
1916+ <field name="name">sale_view_order_form_extra_UOM</field> <!--nombre de la vista-->
1917+ <field name="model">sale.order</field> <!--Objeto-->
1918+ <field name="inherit_id" ref="sale.view_order_form" /> <!--ID xml-->
1919+ <field name="type">form</field> <!--Tipo de Vista-->
1920+ <field name="arch" type="xml">
1921+ <xpath expr='/form/notebook/page[@string="Sales Order"]/field[@name="order_line"]/form/notebook/page[@string="Order Line"]/field[@name="product_id"]'
1922+ position="after">
1923+ <field name="prod_lot_id" attrs="{'readonly':[('track_outgoing','=',False)]}" domain="[('product_id','=',product_id)]" on_change="on_change_qty(product_id,prod_lot_id)"/>
1924+ <field name="pieces" on_change="on_change_piece(product_id,prod_lot_id)" />
1925+ <field name="track_outgoing" invisible="1"/>
1926+ </xpath>
1927+ <xpath expr='/form/notebook/page[@string="Sales Order"]/field[@name="order_line"]/form/notebook/page[@string="Order Line"]/field[@name="product_uos"]' position="replace" ></xpath>
1928+ <xpath expr='/form/notebook/page[@string="Sales Order"]/field[@name="order_line"]/form/notebook/page[@string="Order Line"]/field[@name="product_uos_qty"]' position="replace" ></xpath>
1929+ <tree >
1930+ <field name="prod_lot_id" />
1931+ <field name="pieces"/>
1932+
1933+ </tree>
1934+ </field>
1935+ </record>
1936+
1937+
1938+<!-- inventory_line-->
1939+ <record model="ir.ui.view" id="view_stock_inventory_form_extra_UOM">
1940+ <field name="name">stock.inventory.form</field> <!--nombre de la vista-->
1941+ <field name="model">stock.inventory</field> <!--Objeto-->
1942+ <field name="inherit_id" ref="stock.view_inventory_form" /> <!--ID xml-->
1943+ <field name="type">form</field> <!--Tipo de Vista-->
1944+ <field name="arch" type="xml">
1945+ <field name="product_uom" position="after">
1946+ <field name="pieces_qty"/>
1947+ </field>
1948+ </field>
1949+ </record>
1950+
1951+
1952+ <record model="ir.ui.view" id="product_normal_form_view_extra_UOM">
1953+ <field name="name">product.normal.form</field>
1954+ <field name="model">product.product</field>
1955+ <field name="inherit_id" ref="product.product_normal_form_view" />
1956+ <field name="type">form</field>
1957+ <field name="arch" type="xml">
1958+ <field name="uom_po_id" position="after">
1959+ <field name="stock_driver"/>
1960+ </field>
1961+ <notebook position="inside">
1962+ <page string="Special features">
1963+ <separator string="Physical characteristics" colspan="6"/>
1964+ <newline/>
1965+ <group col="6" colspan="4">
1966+ <field name="layout_id"/>
1967+ <field name="material_id"/>
1968+ <field name="finish_id"/>
1969+ <field name="quality_id"/>
1970+ <field name="color_id"/>
1971+ </group>
1972+ <separator string="Format" colspan="6"/>
1973+ <newline/>
1974+<!-- TODO Este campo debe ser readonly si stock > 0, solo se puede modificar mientras no existan lotes asociados al producto-->
1975+ <field name="tile_format_id" attrs="{'readonly':[('stock_driver','!=','tile')]}"/>
1976+ <field name="thickness" attrs="{'readonly':[('stock_driver','!=','tile'),('stock_driver','!=','slab')]}"/>
1977+ <separator string="Others" colspan="6"/>
1978+ <newline/>
1979+ <field name="pricelist_group_id" attrs="{'readonly':[('sale_ok','=',False)]}"/>
1980+ <field name="origin_country_id"/>
1981+ <separator string="Similar products" colspan="6"/>
1982+ <newline/>
1983+<!-- TODO ajustar campos a la vista en el widget-->
1984+ <field name="similarity_ids" nolabel="1" colspan="6"/>
1985+ </page>
1986+ </notebook>
1987+ </field>
1988+ </record>
1989+
1990+<!-- <record model="ir.ui.view" id="view_split_in_lots_extra_UOM">-->
1991+<!-- <field name="name">Split.in.lots</field>-->
1992+<!-- <field name="model">stock.move.split</field>-->
1993+<!-- <field name="inherit_id" ref="stock.view_split_in_lots" />-->
1994+<!-- <field name="type">form</field>-->
1995+<!-- <field name="arch" type="xml">-->
1996+<!-- <field name="qty" position="after">-->
1997+<!-- <field name="length" />-->
1998+<!-- <field name="width" />-->
1999+<!-- <field name="heigth" />-->
2000+<!-- <field name="lot_location" />-->
2001+<!-- <field name="lot_factor" />-->
2002+<!-- </field>-->
2003+<!-- </field>-->
2004+<!-- </record>-->
2005+
2006+<!-- <record model="ir.ui.view" id="view_product_form_expiry">-->
2007+<!-- <field name="name">product.normal.form</field>-->
2008+<!-- <field name="model">product.product</field>-->
2009+<!-- <field name="inherit_id" ref="product.product_normal_form_view" />-->
2010+<!-- <field name="type">form</field>-->
2011+<!-- <field name="arch" type="xml">-->
2012+<!-- <notebook position="inside">-->
2013+<!-- <page string="Dimensions">-->
2014+<!-- <field name="length" select="1"/>-->
2015+<!-- <field name="width" select="1"/>-->
2016+<!-- <field name="heigth" select="1"/>-->
2017+<!-- <field name="lot_location" select="1"/>-->
2018+<!-- <field name="lot_factor" />-->
2019+<!-- </page>-->
2020+<!-- </notebook>-->
2021+<!-- </field>-->
2022+<!-- </record>-->
2023+
2024+<!-- <record model="ir.ui.view" id="view_product_product_material_tree">-->
2025+<!-- <field name="name">product.product.material.tree</field>-->
2026+<!-- <field name="model">product.product.material</field>-->
2027+<!-- <field name="type">tree</field>-->
2028+<!-- <field name="arch" type="xml">-->
2029+<!-- <form string="From profit">-->
2030+<!-- <group col="4" colspan="4">-->
2031+<!-- <field name="name"/>-->
2032+<!-- <button icon="gtk-cancel" special="cancel" string="Cancel"/>-->
2033+<!-- </group>-->
2034+<!-- </form>-->
2035+<!-- </field>-->
2036+<!-- </record> -->
2037+
2038+<!-- <record id="action_product_product_material" model="ir.actions.act_window">-->
2039+<!-- <field name="name">Product materials</field>-->
2040+<!-- <field name="res_model">product.product.material</field>-->
2041+<!-- <field name="view_type">form</field>-->
2042+<!-- <field name="view_mode">tree</field>-->
2043+<!-- <field name="view_id" ref="view_product_product_material_tree"/>-->
2044+<!-- <field name="target">new</field>-->
2045+<!-- </record>-->
2046+
2047+<!-- <menuitem -->
2048+<!-- parent="base.menu_config" -->
2049+<!-- id="menu_action_tcv_profit_tree" -->
2050+<!-- action="action_product_product_material"/>-->
2051+
2052+ </data>
2053+</openerp>
2054+
2055
2056=== added file 'extra_UOM/view/purchase_view.xml'
2057--- extra_UOM/view/purchase_view.xml 1970-01-01 00:00:00 +0000
2058+++ extra_UOM/view/purchase_view.xml 2011-11-15 20:46:26 +0000
2059@@ -0,0 +1,30 @@
2060+<?xml version="1.0" encoding="utf-8"?>
2061+<openerp>
2062+ <data>
2063+ <record id="purchase_order_form_line" model="ir.ui.view">
2064+ <field name="name">purchase.order.form.line</field>
2065+ <field name="model">purchase.order.line</field>
2066+ <field name="type">form</field>
2067+ <field name="inherit_id" ref="purchase.purchase_order_line_form" />
2068+ <field name="arch" type="xml">
2069+ <xpath expr='/form/notebook/page[@string="Order Line"]/field[@name="product_id"]' position="after">
2070+ <field name="prod_lot_id" attrs="{'readonly':[('track_outgoing','=',False)]}" domain="[('product_id','=',product_id)]" on_change="on_change_qty(product_id,prod_lot_id)"/>
2071+ <field name="pieces" on_change="on_change_piece(product_id,prod_lot_id)" />
2072+ <field name="track_incoming" invisible="1"/>
2073+ </xpath>
2074+ </field>
2075+ </record>
2076+ <record id="purchase_order_form_" model="ir.ui.view">
2077+ <field name="name">purchase.order.form</field>
2078+ <field name="model">purchase.order</field>
2079+ <field name="type">form</field>
2080+ <field name="inherit_id" ref="purchase.purchase_order_form" />
2081+ <field name="arch" type="xml">
2082+ <xpath expr='/form/notebook/page[@string="Purchase Order"]/field["order_line"]/tree/field[@name="product_uom"]' position="after">
2083+ <field name="prod_lot_id" />
2084+ <field name="pieces" />
2085+ </xpath>
2086+ </field>
2087+ </record>
2088+ </data>
2089+</openerp>
2090
2091=== added directory 'extra_UOM/wizard'
2092=== added file 'extra_UOM/wizard/__init__.py'
2093--- extra_UOM/wizard/__init__.py 1970-01-01 00:00:00 +0000
2094+++ extra_UOM/wizard/__init__.py 2011-11-15 20:46:26 +0000
2095@@ -0,0 +1,22 @@
2096+# -*- coding: utf-8 -*-
2097+##############################################################################
2098+#
2099+# OpenERP, Open Source Management Solution
2100+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2101+#
2102+# This program is free software: you can redistribute it and/or modify
2103+# it under the terms of the GNU Affero General Public License as
2104+# published by the Free Software Foundation, either version 3 of the
2105+# License, or (at your option) any later version.
2106+#
2107+# This program is distributed in the hope that it will be useful,
2108+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2109+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2110+# GNU Affero General Public License for more details.
2111+#
2112+# You should have received a copy of the GNU Affero General Public License
2113+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2114+#
2115+##############################################################################
2116+
2117+import stock_move_split
2118
2119=== added file 'extra_UOM/wizard/stock_move_split.py'
2120--- extra_UOM/wizard/stock_move_split.py 1970-01-01 00:00:00 +0000
2121+++ extra_UOM/wizard/stock_move_split.py 2011-11-15 20:46:26 +0000
2122@@ -0,0 +1,349 @@
2123+# -*- coding: utf-8 -*-
2124+##############################################################################
2125+#
2126+# OpenERP, Open Source Management Solution
2127+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2128+#
2129+# This program is free software: you can redistribute it and/or modify
2130+# it under the terms of the GNU Affero General Public License as
2131+# published by the Free Software Foundation, either version 3 of the
2132+# License, or (at your option) any later version.
2133+#
2134+# This program is distributed in the hope that it will be useful,
2135+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2136+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2137+# GNU Affero General Public License for more details.
2138+#
2139+# You should have received a copy of the GNU Affero General Public License
2140+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2141+#
2142+##############################################################################
2143+
2144+from osv import fields, osv
2145+import decimal_precision as dp
2146+from tools.translate import _
2147+import time
2148+
2149+class stock_tecv_wizard(osv.osv_memory):
2150+
2151+ def create_line(cr,uid,ids,context=None):
2152+ split_line = self.pool.get('stock.move.split.lines')
2153+ split_line_exist = self.pool.get('stock.move.split.lines.exist')
2154+
2155+
2156+ def default_get(self, cr, uid, fields, context=None):
2157+ """ Get default values
2158+ @param self: The object pointer.
2159+ @param cr: A database cursor
2160+ @param uid: ID of the user currently logged in
2161+ @param fields: List of fields for default value
2162+ @param context: A standard dictionary
2163+ @return: Default values of fields
2164+ """
2165+ if context is None:
2166+ context = {}
2167+ res = super(stock_tecv_wizard, self).default_get(cr, uid, fields, context=context)
2168+ if context.get('active_id'):
2169+ move = self.pool.get('stock.move').browse(cr, uid, context['active_id'], context=context)
2170+ if 'product_id' in fields:
2171+ res.update({'product_id': move.product_id and move.product_id.id})
2172+ if 'product_uom' in fields:
2173+ res.update({'product_uom': move.product_uom and move.product_uom.id})
2174+ if 'qty' in fields:
2175+ res.update({'qty': move.product_qty})
2176+ if 'use_exist' in fields:
2177+ res.update({'use_exist': (move.picking_id and move.picking_id.type=='out' and True) or False})
2178+ if 'location_id' in fields:
2179+ res.update({'location_id': move.location_id and move.location_id.id})
2180+
2181+ res.update({'type_picking':move.picking_id.type})
2182+ res.update({'faclot':move and move.id })
2183+
2184+ return res
2185+
2186+
2187+
2188+ def split(self, cr, uid, ids, move_ids, context=None):
2189+ """ To split stock moves into production lot
2190+ @param self: The object pointer.
2191+ @param cr: A database cursor
2192+ @param uid: ID of the user currently logged in
2193+ @param ids: the ID or list of IDs if we want more than one
2194+ @param move_ids: the ID or list of IDs of stock move we want to split
2195+ @param context: A standard dictionary
2196+ @return:
2197+ """
2198+ if context is None:
2199+ context = {}
2200+ inventory_id = context.get('inventory_id', False)
2201+ prodlot_obj = self.pool.get('stock.production.lot')
2202+ inventory_obj = self.pool.get('stock.inventory')
2203+ line_obj = self.pool.get('stock.move.split.lines')
2204+ move_obj = self.pool.get('stock.move')
2205+ new_move = []
2206+ for data in self.browse(cr, uid, ids, context=context):
2207+ for move in move_obj.browse(cr, uid, move_ids, context=context):
2208+ move_qty = move.product_qty
2209+ quantity_rest = move.product_qty
2210+ uos_qty_rest = move.product_uos_qty
2211+ new_move = []
2212+ if data.use_exist:
2213+ lines = [l for l in data.line_exist_ids if l]
2214+ else:
2215+ lines = [l for l in data.line_ids if l]
2216+ total_move_qty = 0.0
2217+ for line in lines:
2218+ print "lengthhhhh",line.length1
2219+ print "nueva cantidad",line.quantity1
2220+ quantity = line.quantity1
2221+ total_move_qty += quantity
2222+ if total_move_qty > move_qty:
2223+ raise osv.except_osv(_('Processing Error'), _('Processing quantity %d for %s is larger than the available quantity %d!')\
2224+ %(total_move_qty, move.product_id.name, move_qty))
2225+ if quantity <= 0 or move_qty == 0:
2226+ continue
2227+ quantity_rest -= quantity
2228+ uos_qty = quantity / move_qty * move.product_uos_qty
2229+ uos_qty_rest = quantity_rest / move_qty * move.product_uos_qty
2230+ if quantity_rest < 0:
2231+ quantity_rest = quantity
2232+ break
2233+ print "cantidaddd",quantity
2234+ default_val = {
2235+ 'product_qty': quantity,
2236+ 'product_uos_qty': uos_qty,
2237+ 'state': move.state
2238+ }
2239+ if quantity_rest > 0:
2240+ current_move = move_obj.copy(cr, uid, move.id, default_val, context=context)
2241+ if inventory_id and current_move:
2242+ inventory_obj.write(cr, uid, inventory_id, {'move_ids': [(4, current_move)]}, context=context)
2243+ new_move.append(current_move)
2244+
2245+ if quantity_rest == 0:
2246+ current_move = move.id
2247+ prodlot_id = False
2248+ if data.use_exist:
2249+ prodlot_id = line.prodlot_id.id
2250+ if not prodlot_id:
2251+ print "campo no lectura",line.pieces_qty1
2252+ print "lengthhhhh",line.length1
2253+ print "widthhhhh",line.width1
2254+ print "heigthhhhhhh",line.heigth1
2255+ prodlot_id = prodlot_obj.create(cr, uid, {
2256+ 'name': line.name,
2257+ 'product_id': move.product_id and move.product_id.id,
2258+ 'length':line.length1,
2259+ 'width':line.width1,
2260+ 'heigth':line.heigth1,
2261+ 'pieces_qty':line.pieces_qty1,
2262+ },
2263+ context=context)
2264+
2265+ move_obj.write(cr, uid, [current_move], {'prodlot_id': prodlot_id, 'state':move.state})
2266+
2267+ update_val = {}
2268+ if quantity_rest > 0:
2269+ update_val['product_qty'] = quantity_rest
2270+ update_val['product_uos_qty'] = uos_qty_rest
2271+ update_val['state'] = move.state
2272+ move_obj.write(cr, uid, [move.id], update_val)
2273+
2274+ return new_move
2275+
2276+ def split_lot(self, cr, uid, ids, context=None):
2277+ """ To split a lot
2278+ @param self: The object pointer.
2279+ @param cr: A database cursor
2280+ @param uid: ID of the user currently logged in
2281+ @param ids: An ID or list of IDs if we want more than one
2282+ @param context: A standard dictionary
2283+ @return:
2284+ """
2285+ if context is None:
2286+ context = {}
2287+ self.split(cr, uid, ids, context.get('active_ids'), context=context)
2288+ return {'type': 'ir.actions.act_window_close'}
2289+
2290+ _inherit = "stock.move.split"
2291+
2292+ _columns = {
2293+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2294+ 'lot':fields.integer('Integer'),
2295+ 'nrepeat':fields.integer('Quantity', help="Number of repition for this process"),
2296+ 'begin':fields.integer('Begin', help="Number of begin for the iteration"),
2297+ 'repeat':fields.boolean('Repeat'),
2298+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2299+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2300+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2301+ 'pieces_qty': fields.integer('Pieces'),
2302+ 'faclot': fields.integer('Production Lot'),
2303+ 'type_picking':fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True),
2304+}
2305+
2306+stock_tecv_wizard()
2307+
2308+class stock_move_split_lines(osv.osv_memory):
2309+
2310+ def on_change_compute(self,cr,uid,ids,product_id,type_picking,faclot,quantity,pieces, length, heigth, width,context=None):
2311+ print "Tipoo",type_picking
2312+ print "length",length
2313+ print "heigth",heigth
2314+ print "width",width
2315+ res = {'value': {}}
2316+ if not context:
2317+ context = {}
2318+ if product_id:
2319+ product_obj = self.pool.get('product.product')
2320+ product_brw = product_obj.browse(cr,uid,product_id,context=context)
2321+ if product_brw.stock_driver == 'normal' :
2322+ res['value'].update({'factor': 3})
2323+ print "normal"
2324+ if product_brw.stock_driver == 'tile' :
2325+ res['value'].update({'factor': 2})
2326+ print "tile"
2327+ if product_brw.stock_driver == 'slab' :
2328+ res['value'].update({'factor': 1})
2329+ print "slab"
2330+ if product_brw.stock_driver == 'block' :
2331+ res['value'].update({'factor': 0})
2332+ print "block"
2333+
2334+
2335+
2336+ driver = product_brw.stock_driver
2337+ product_obj = self.pool.get('product.uom')
2338+ area = product_obj._compute_area(cr, uid,ids,driver, pieces, length, heigth, width)
2339+ print "areaaaa",area
2340+
2341+ if type_picking == 'in':
2342+ if product_brw.stock_driver == 'tile':
2343+ res['value'].update({'quantity': area})
2344+ res['value'].update({'quantity1': area})
2345+ #~ res['value'].update({'pieces_qty': 0})
2346+ res['value'].update({'length': product_brw.tile_format_id.length})
2347+ res['value'].update({'length1': product_brw.tile_format_id.length})
2348+ res['value'].update({'heigth': product_brw.tile_format_id.heigth})
2349+ res['value'].update({'heigth1': product_brw.tile_format_id.heigth})
2350+
2351+
2352+ if product_brw.stock_driver == 'slab':
2353+ res['value'].update({'quantity': area})
2354+ res['value'].update({'quantity1': area})
2355+
2356+
2357+
2358+ if product_brw.stock_driver == 'block':
2359+ res['value'].update({'quantity': area})
2360+ res['value'].update({'quantity1': area})
2361+
2362+
2363+ return res
2364+
2365+ _inherit = "stock.move.split.lines"
2366+
2367+ _columns = {
2368+ 'lote':fields.integer('Lot Number'),
2369+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2370+ 'location_id': fields.many2one('stock.location', 'Source Location'),
2371+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2372+ 'length1': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2373+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2374+ 'heigth1': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2375+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2376+ 'width1': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2377+ 'quantity': fields.float('Quantity',digits_compute=dp.get_precision('Product UoM')),
2378+ 'quantity1': fields.float('Quantity',digits_compute=dp.get_precision('Product UoM')),
2379+ 'pieces_qty': fields.integer('Pieces'),
2380+ 'pieces_qty1': fields.integer('Pieces'),
2381+}
2382+stock_move_split_lines()
2383+
2384+class stock_move_split_lines_exist(osv.osv_memory):
2385+
2386+ def on_change_compute(self,cr,uid,ids,product_id,type_picking,prodlot,quantity,pieces,length, heigth, width,context=None):
2387+ print "Tipoo",type_picking
2388+ print "length",length
2389+ print "heigth",heigth
2390+ print "width",width
2391+ res = {'value': {}}
2392+ if not context:
2393+ context = {}
2394+ if product_id:
2395+ product_obj = self.pool.get('product.product')
2396+ product_brw = product_obj.browse(cr,uid,product_id,context=context)
2397+ lot_obj = self.pool.get('stock.production.lot')
2398+ lot_brw = lot_obj.browse(cr,uid,prodlot,context=context)
2399+ if product_brw.stock_driver == 'normal' :
2400+ res['value'].update({'factor': 3})
2401+ print "normal"
2402+ if product_brw.stock_driver == 'tile' :
2403+ res['value'].update({'factor': 2})
2404+ print "tile"
2405+ if product_brw.stock_driver == 'slab' :
2406+ res['value'].update({'factor': 1})
2407+ print "slab"
2408+ if product_brw.stock_driver == 'block' :
2409+ res['value'].update({'factor': 0})
2410+ print "block"
2411+
2412+
2413+ driver = product_brw.stock_driver
2414+ product_obj = self.pool.get('product.uom')
2415+ area = product_obj._compute_area(cr, uid,ids,driver, pieces, length, heigth,width)
2416+ print "areaaaa",area
2417+
2418+ if type_picking == 'out':
2419+ if product_brw.stock_driver == 'tile':
2420+ res['value'].update({'quantity': product_brw.virtual_available})
2421+ res['value'].update({'quantity1': product_brw.virtual_available})
2422+ res['value'].update({'pieces_qty': ((product_brw.virtual_available)/(lot_brw.lot_factor))})
2423+ res['value'].update({'pieces_qty1': ((product_brw.virtual_available)/(lot_brw.lot_factor))})
2424+ res['value'].update({'length': (lot_brw.length)})
2425+ res['value'].update({'length1': (lot_brw.length)})
2426+ res['value'].update({'heigth': (lot_brw.heigth)})
2427+ res['value'].update({'heigth1': (lot_brw.heigth)})
2428+
2429+
2430+ if product_brw.stock_driver == 'slab':
2431+ res['value'].update({'quantity': product_brw.virtual_available})
2432+ res['value'].update({'quantity1': product_brw.virtual_available})
2433+ #~ res['value'].update({'pieces_qty': 1})
2434+ res['value'].update({'length': (lot_brw.length)})
2435+ res['value'].update({'length1': (lot_brw.length)})
2436+ res['value'].update({'heigth': (lot_brw.heigth)})
2437+ res['value'].update({'heigth1': (lot_brw.heigth)})
2438+
2439+
2440+ if product_brw.stock_driver == 'block':
2441+ res['value'].update({'quantity': product_brw.virtual_available})
2442+ #~ res['value'].update({'pieces_qty': 1})
2443+ res['value'].update({'length': lot_brw.length})
2444+ res['value'].update({'length1': lot_brw.length})
2445+ res['value'].update({'heigth': lot_brw.heigth})
2446+ res['value'].update({'heigth1': lot_brw.heigth})
2447+ res['value'].update({'width': lot_brw.width})
2448+ res['value'].update({'width1': lot_brw.width})
2449+
2450+
2451+
2452+ return res
2453+
2454+ _inherit = "stock.move.split.lines.exist"
2455+
2456+ _columns = {
2457+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2458+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2459+ 'length1': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2460+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2461+ 'heigth1': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2462+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2463+ 'width1': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2464+ 'quantity': fields.float('Quantity'),
2465+ 'quantity1': fields.float('Quantity'),
2466+ 'pieces_qty': fields.integer('Pieces'),
2467+ 'pieces_qty1': fields.integer('Pieces'),
2468+ 'location_id': fields.many2one('stock.location', 'Source Location'),
2469+ 'lote':fields.integer('Lot Number'),
2470+}
2471+stock_move_split_lines_exist()
2472
2473=== added file 'extra_UOM/wizard/stock_move_split_view.xml'
2474--- extra_UOM/wizard/stock_move_split_view.xml 1970-01-01 00:00:00 +0000
2475+++ extra_UOM/wizard/stock_move_split_view.xml 2011-11-15 20:46:26 +0000
2476@@ -0,0 +1,123 @@
2477+<?xml version="1.0" encoding="utf-8"?>
2478+<openerp>
2479+ <data>
2480+ <record id="view_split_in_tecv" model="ir.ui.view">
2481+ <field name="name">Split lots</field>
2482+ <field name="model">stock.move.split</field>
2483+ <field name="type">form</field>
2484+ <field name="inherit_id" ref="stock.view_split_in_lots"/>
2485+ <field name="arch" type="xml">
2486+ <data>
2487+
2488+ <xpath expr='/form/group/field[@name="product_id"]' position="replace" >
2489+ <field name="product_id" colspan="4" readonly="1"/>
2490+ </xpath>
2491+
2492+ <xpath expr='/form/group/group/group/field[@name="product_uom"]' position="after" >
2493+ <field name="type_picking" invisible="1" />
2494+ <field name="faclot" invisible="1" />
2495+ <group colspan="4" col="6" >
2496+ <field name="repeat" colspan="1"/>
2497+ <field name="begin" colspan="1" attrs="{'invisible':[('repeat','!=',True)]}" />
2498+
2499+ <group colspan="4" col="6" >
2500+ <field name="nrepeat" attrs="{'invisible':[('repeat','!=',True)]}" />
2501+ <button name="create_line" string="Ok" type="object" attrs="{'invisible':[('repeat','!=',True)]}" />
2502+ </group>
2503+ </group>
2504+
2505+
2506+ </xpath>
2507+
2508+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="name"]' position="replace">
2509+ <field name="name" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/>
2510+ </xpath>
2511+
2512+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="name"]' position="after">
2513+ <field name="factor" invisible="1" />
2514+ <field name="length" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2515+ <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2516+
2517+ <field name="heigth" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/>
2518+ <field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2519+ <field name="width" attrs="{'readonly':[('factor','&gt;',0)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/>
2520+
2521+ <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2522+ <field name="pieces_qty" attrs="{'readonly':[('factor','&gt;',2)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/>
2523+ <field name="pieces_qty1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2524+ </xpath>
2525+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="replace">
2526+ <field name="quantity" attrs="{'readonly':[('factor','&lt;',3)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2527+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2528+ </xpath>
2529+
2530+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="after">
2531+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2532+ </xpath>
2533+ <xpath expr='/form/group/group/field[@name="line_ids"]/form[@string="Production Lot Number"]/field[@name="name"]' position="replace">
2534+ <field name="name" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/>
2535+ </xpath>
2536+
2537+
2538+ <xpath expr='/form/group/group/field[@name="line_ids"]/form[@string="Production Lot Number"]/field[@name="name"]' position="after">
2539+ <field name="factor" invisible="1"/>
2540+ <field name="length" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/><field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2541+ <field name="width" attrs="{'readonly':[('factor','&gt;',0)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/> <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2542+ <field name="heigth" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/><field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2543+ <field name="pieces_qty" attrs="{'readonly':[('factor','&gt;',2)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)"/><field name="pieces_qty1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2544+ </xpath>
2545+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="replace">
2546+ <field name="quantity" attrs="{'readonly':[('factor','&lt;',3)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2547+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2548+ </xpath>
2549+ <xpath expr='/form/group/group/field[@name="line_ids"]/form[@string="Production Lot Number"]/field[@name="quantity"]' position="after">
2550+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2551+ </xpath>
2552+
2553+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/tree[@string="Production Lot Numbers"]/field[@name="prodlot_id"]' position="replace">
2554+ <field name="prodlot_id" domain="[('product_id','=',parent.product_id)]" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/>
2555+
2556+ </xpath>
2557+
2558+
2559+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/tree[@string="Production Lot Numbers"]/field[@name="prodlot_id"]' position="after">
2560+ <field name="factor" invisible="1"/>
2561+
2562+ <field name="length" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" /> <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2563+ <field name="width" attrs="{'readonly':[('factor','&gt;',0)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/> <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2564+ <field name="heigth" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/><field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2565+ <field name="pieces_qty" attrs="{'readonly':[('factor','&gt;',2)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/> <field name="pieces_qty1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2566+ </xpath>
2567+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="replace">
2568+ <field name="quantity" attrs="{'readonly':[('factor','&lt;',3)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" /><field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2569+ </xpath>
2570+
2571+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="after">
2572+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" />
2573+ </xpath>
2574+
2575+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/form[@string="Production Lot Number"]/field[@name="prodlot_id"]' position="replace">
2576+ <field name="prodlot_id" domain="[('product_id','=',parent.product_id)]" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/>
2577+
2578+ </xpath>
2579+
2580+
2581+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/form[@string="Production Lot Number"]/field[@name="prodlot_id"]' position="after">
2582+ <field name="factor" invisible="1"/>
2583+ <field name="length" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" /> <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2584+ <field name="width" attrs="{'readonly':[('factor','&gt;',0)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/><field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2585+ <field name="heigth" attrs="{'readonly':[('factor','&gt;',1)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/> <field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2586+ <field name="pieces_qty" attrs="{'readonly':[('factor','&gt;',2)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)"/><field name="pieces_qty1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1"/>
2587+ </xpath>
2588+ <xpath expr='/form/group/group/field[@name="line_ids"]/tree[@string="Production Lot Numbers"]/field[@name="quantity"]' position="replace">
2589+ <field name="quantity" attrs="{'readonly':[('factor','&lt;',3)]}" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" /> <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2590+ </xpath>
2591+
2592+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]/form[@string="Production Lot Number"]/field[@name="quantity"]' position="after">
2593+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" />
2594+ </xpath>
2595+ </data>
2596+ </field>
2597+ </record>
2598+ </data>
2599+</openerp>
2600
2601=== added directory 'extra_UOM/workflow'
2602=== added directory 'fetchmail_document'
2603=== added file 'fetchmail_document/__init__.py'
2604--- fetchmail_document/__init__.py 1970-01-01 00:00:00 +0000
2605+++ fetchmail_document/__init__.py 2011-11-15 20:46:26 +0000
2606@@ -0,0 +1,1 @@
2607+import document
2608
2609=== added file 'fetchmail_document/__openerp__.py'
2610--- fetchmail_document/__openerp__.py 1970-01-01 00:00:00 +0000
2611+++ fetchmail_document/__openerp__.py 2011-11-15 20:46:26 +0000
2612@@ -0,0 +1,20 @@
2613+# -*- encoding: utf-8 -*-
2614+{
2615+ "name" : "Fetchmail Corrections",
2616+ "version" : "0.1",
2617+ "depends" : ["fetchmail","document",],
2618+ "author" : "Vauxoo",
2619+ "description" : """
2620+ This module correct some behaviours on Document and Fetchmail modules combinated.
2621+ """,
2622+ "website" : "http://vauxoo.com",
2623+ "category" : "Tools",
2624+ "init_xml" : [
2625+ ],
2626+ "demo_xml" : [
2627+ ],
2628+ "update_xml" : [
2629+ ],
2630+ "active": False,
2631+ "installable": True,
2632+}
2633
2634=== added file 'fetchmail_document/crm_claim.py'
2635--- fetchmail_document/crm_claim.py 1970-01-01 00:00:00 +0000
2636+++ fetchmail_document/crm_claim.py 2011-11-15 20:46:26 +0000
2637@@ -0,0 +1,12 @@
2638+# -*- encoding: utf-8 -*-
2639+from osv import osv
2640+from osv import fields
2641+from tools.translate import _
2642+
2643+class crm_claim(osv.osv):
2644+ """
2645+ crm_claim
2646+ """
2647+ _inherit = 'crm.claim'
2648+ _log_create = True
2649+crm_claim()
2650
2651=== added file 'fetchmail_document/document.py'
2652--- fetchmail_document/document.py 1970-01-01 00:00:00 +0000
2653+++ fetchmail_document/document.py 2011-11-15 20:46:26 +0000
2654@@ -0,0 +1,31 @@
2655+# -*- encoding: utf-8 -*-
2656+from osv import osv
2657+from osv import fields
2658+from tools.translate import _
2659+
2660+class document(osv.osv):
2661+ """
2662+ fetchmail
2663+ """
2664+ _inherit = 'ir.attachment'
2665+
2666+ def _check_duplication(self, cr, uid, ids, context=None):
2667+ for attach in self.browse(cr, uid, ids, context):
2668+ domain = [('id', '!=', attach.id),
2669+ ('name', '=', attach.name),
2670+ ('parent_id', '=', attach.parent_id.id),
2671+ ('res_model', '=', attach.res_model),
2672+ ('res_id', '=', attach.res_id),
2673+ ]
2674+ #If another model fail i need to add here the validation "Just for V6.0"
2675+ if attach.res_model=='project.issue':
2676+ return True
2677+ if self.search(cr, uid, domain, context=context):
2678+ return False
2679+ return True
2680+ # On Trunk there are a commentary that say with pure SQL it ca not be done.
2681+ # Delete this constraint whe we migrate to 6.1
2682+ _constraints = [
2683+ (_check_duplication, 'File name must be unique!', ['name', 'parent_id', 'res_model', 'res_id'])
2684+ ]
2685+document()
2686
2687=== added file 'fetchmail_document/fetchmail_view.xml'
2688=== added directory 'fetchmail_document/i18n'
2689=== added directory 'fetchmail_document/security'
2690=== added directory 'icecat_product_uniqueness'
2691=== added file 'icecat_product_uniqueness/__init__.py'
2692--- icecat_product_uniqueness/__init__.py 1970-01-01 00:00:00 +0000
2693+++ icecat_product_uniqueness/__init__.py 2011-11-15 20:46:26 +0000
2694@@ -0,0 +1,28 @@
2695+# -*- encoding: utf-8 -*-
2696+##############################################################################
2697+# Copyright (c) 2011 Vauxoo (http://vauxoo.com)
2698+# All Rights Reserved.
2699+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2700+#
2701+# WARNING: This program as such is intended to be used by professional
2702+# programmers who take the whole responsability of assessing all potential
2703+# consequences resulting from its eventual inadequacies and bugs
2704+# End users who are looking for a ready-to-use solution with commercial
2705+# garantees and support are strongly adviced to contract a Free Software
2706+# Service Company
2707+#
2708+# This program is Free Software; you can redistribute it and/or
2709+# modify it under the terms of the GNU General Public License
2710+# as published by the Free Software Foundation; either version 2
2711+# of the License, or (at your option) any later version.
2712+#
2713+# This program is distributed in the hope that it will be useful,
2714+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2715+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2716+# GNU General Public License for more details.
2717+#
2718+# You should have received a copy of the GNU General Public License
2719+# along with this program; if not, write to the Free Software
2720+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2721+###############################################################################
2722+import product
2723
2724=== added file 'icecat_product_uniqueness/__openerp__.py'
2725--- icecat_product_uniqueness/__openerp__.py 1970-01-01 00:00:00 +0000
2726+++ icecat_product_uniqueness/__openerp__.py 2011-11-15 20:46:26 +0000
2727@@ -0,0 +1,40 @@
2728+# -*- encoding: utf-8 -*-
2729+##############################################################################
2730+# Copyright (c) 2011 Vauxoo (http://vauxoo.com)
2731+# All Rights Reserved.
2732+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2733+#
2734+# WARNING: This program as such is intended to be used by professional
2735+# programmers who take the whole responsability of assessing all potential
2736+# consequences resulting from its eventual inadequacies and bugs
2737+# End users who are looking for a ready-to-use solution with commercial
2738+# garantees and support are strongly adviced to contract a Free Software
2739+# Service Company
2740+#
2741+# This program is Free Software; you can redistribute it and/or
2742+# modify it under the terms of the GNU General Public License
2743+# as published by the Free Software Foundation; either version 2
2744+# of the License, or (at your option) any later version.
2745+#
2746+# This program is distributed in the hope that it will be useful,
2747+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2748+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2749+# GNU General Public License for more details.
2750+#
2751+# You should have received a copy of the GNU General Public License
2752+# along with this program; if not, write to the Free Software
2753+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2754+###############################################################################
2755+{
2756+ 'name' : 'Icecat Product Uniqueness Checker',
2757+ 'version' : '0.1',
2758+ 'author' : 'Vauxoo',
2759+ 'description' : 'Checks the uniqueness of a product loaded using the product_icecat module for every company',
2760+ 'category' : 'Custom',
2761+ 'website' : 'http://vauxoo.com',
2762+ 'depends' : ['base', 'product_icecat', 'product'],
2763+ 'update_xml' : ['product_view.xml'],
2764+ 'demo' : [],
2765+ 'active' : False,
2766+ 'installable': True,
2767+}
2768
2769=== added directory 'icecat_product_uniqueness/data'
2770=== added directory 'icecat_product_uniqueness/demo'
2771=== added directory 'icecat_product_uniqueness/i18n'
2772=== added file 'icecat_product_uniqueness/product.py'
2773--- icecat_product_uniqueness/product.py 1970-01-01 00:00:00 +0000
2774+++ icecat_product_uniqueness/product.py 2011-11-15 20:46:26 +0000
2775@@ -0,0 +1,60 @@
2776+# -*- encoding: utf-8 -*-
2777+##############################################################################
2778+# Copyright (c) 2011 OpenERP Venezuela (http://openerp.com.ve)
2779+# All Rights Reserved.
2780+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2781+#
2782+# WARNING: This program as such is intended to be used by professional
2783+# programmers who take the whole responsability of assessing all potential
2784+# consequences resulting from its eventual inadequacies and bugs
2785+# End users who are looking for a ready-to-use solution with commercial
2786+# garantees and support are strongly adviced to contract a Free Software
2787+# Service Company
2788+#
2789+# This program is Free Software; you can redistribute it and/or
2790+# modify it under the terms of the GNU General Public License
2791+# as published by the Free Software Foundation; either version 2
2792+# of the License, or (at your option) any later version.
2793+#
2794+# This program is distributed in the hope that it will be useful,
2795+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2796+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2797+# GNU General Public License for more details.
2798+#
2799+# You should have received a copy of the GNU General Public License
2800+# along with this program; if not, write to the Free Software
2801+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2802+###############################################################################
2803+from osv import osv
2804+from osv import fields
2805+from tools.translate import _
2806+
2807+class product_inherited(osv.osv):
2808+ """
2809+ Checks if a loaded product already exists on the database
2810+ """
2811+ _inherit = 'product.product'
2812+
2813+ def _find_product(self, ean13, products):
2814+ for p in products:
2815+ if ean13 == p.ean13:
2816+ return p
2817+ return None
2818+
2819+ def _check_uniqueness(self, cr, uid, ids, context=None):
2820+ all_ids = self.search(cr, uid, [('id', '<>', ids[0])])
2821+ all_products = [p for p in self.browse(cr, uid, all_ids, [], context) if p.ean13 != False]
2822+ if all_products == []:
2823+ return True
2824+ for product in self.browse(cr, uid, ids, context):
2825+ if product.ean13 == False:
2826+ return True
2827+ if product.ean13 in [p.ean13 for p in all_products]:
2828+ p = self._find_product(product.ean13, all_products)
2829+ if p.company_id.name == product.company_id.name:
2830+ return False
2831+ return True
2832+
2833+ _constraints = [(_check_uniqueness, 'ERROR, product already exists for this company', ['ean13'])]
2834+
2835+product_inherited()
2836
2837=== added file 'icecat_product_uniqueness/product_view.xml'
2838--- icecat_product_uniqueness/product_view.xml 1970-01-01 00:00:00 +0000
2839+++ icecat_product_uniqueness/product_view.xml 2011-11-15 20:46:26 +0000
2840@@ -0,0 +1,31 @@
2841+<?xml version="1.0" encoding="utf-8"?>
2842+<openerp>
2843+ <data>
2844+ <record model="ir.ui.view" id="inherited_product_product_tree">
2845+ <field name="name">product.product.tree.inherit</field>
2846+ <field name="model">product.product</field>
2847+ <field name="inherit_id" ref="product.product_product_tree_view" />
2848+ <field name="arch" type="xml">
2849+ <data>
2850+ <field name="default_code" position="replace">
2851+ <field name="ean13" />
2852+ </field>
2853+ </data>
2854+ </field>
2855+ </record>
2856+ <record model="ir.ui.view" id="inherited_product_search_form">
2857+ <field name="name">product.product.search.form.inherit</field>
2858+ <field name="model">product.product</field>
2859+ <field name="inherit_id" ref="product.product_search_form_view" />
2860+ <field name="arch" type="xml">
2861+ <data>
2862+ <field name="categ_id" position="before">
2863+ <field name="ean13" />
2864+ </field>
2865+ </data>
2866+ </field>
2867+ </record>
2868+
2869+ </data>
2870+</openerp>
2871+
2872
2873=== added directory 'icecat_product_uniqueness/report'
2874=== added directory 'icecat_product_uniqueness/security'
2875=== added directory 'icecat_product_uniqueness/wizard'
2876=== added directory 'l10n_ve_commerce'
2877=== added file 'l10n_ve_commerce/__init__.py'
2878--- l10n_ve_commerce/__init__.py 1970-01-01 00:00:00 +0000
2879+++ l10n_ve_commerce/__init__.py 2011-11-15 20:46:26 +0000
2880@@ -0,0 +1,25 @@
2881+# -*- encoding: utf-8 -*-
2882+##############################################################################
2883+#
2884+# OpenERP, Open Source Management Solution
2885+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2886+# $Id$
2887+#
2888+# This program is free software: you can redistribute it and/or modify
2889+# it under the terms of the GNU General Public License as published by
2890+# the Free Software Foundation, either version 3 of the License, or
2891+# (at your option) any later version.
2892+#
2893+# This program is distributed in the hope that it will be useful,
2894+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2895+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2896+# GNU General Public License for more details.
2897+#
2898+# You should have received a copy of the GNU General Public License
2899+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2900+#
2901+##############################################################################
2902+
2903+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2904+import account
2905+
2906
2907=== added file 'l10n_ve_commerce/__openerp__.py'
2908--- l10n_ve_commerce/__openerp__.py 1970-01-01 00:00:00 +0000
2909+++ l10n_ve_commerce/__openerp__.py 2011-11-15 20:46:26 +0000
2910@@ -0,0 +1,48 @@
2911+# -*- encoding: utf-8 -*-
2912+##############################################################################
2913+#
2914+# OpenERP, Open Source Management Solution
2915+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2916+# $Id$
2917+#
2918+# OpenERP, Open Source Management Solution
2919+# Copyright (C) 2004-2008 Vauxoo, C.A. (<http://vauxoo.com>). All Rights Reserved
2920+# $Id$
2921+# This program is free software: you can redistribute it and/or modify
2922+# it under the terms of the GNU General Public License as published by
2923+# the Free Software Foundation, either version 3 of the License, or
2924+# (at your option) any later version.
2925+#
2926+# This program is distributed in the hope that it will be useful,
2927+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2928+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2929+# GNU General Public License for more details.
2930+#
2931+# You should have received a copy of the GNU General Public License
2932+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2933+#
2934+##############################################################################
2935+{
2936+ "name" : "Commercial Chart Account for Venezuela",
2937+ "version" : "1.0",
2938+ "author" : "Tiny & Vauxoo",
2939+ "category" : "Localisation/Account Charts",
2940+ "description":
2941+'''
2942+This Module load a generic format for manage medium and big business.
2943+You will need accounting knowledge to understad sone concepts.
2944+''',
2945+ "depends" : ["account",
2946+ "account_chart"],
2947+ "demo_xml" : [],
2948+ "update_xml" : ['account_tax_code.xml',
2949+ 'account_user_types.xml',
2950+ 'account_chart.xml',
2951+ 'account_account.xml',
2952+ 'account_tax.xml',
2953+ 'l10n_chart_ve_wizard.xml'],
2954+ "active": False,
2955+ "installable": True,
2956+}
2957+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2958+
2959
2960=== added file 'l10n_ve_commerce/account.py'
2961--- l10n_ve_commerce/account.py 1970-01-01 00:00:00 +0000
2962+++ l10n_ve_commerce/account.py 2011-11-15 20:46:26 +0000
2963@@ -0,0 +1,71 @@
2964+# -*- encoding: utf-8 -*-
2965+##############################################################################
2966+#
2967+# OpenERP, Open Source Management Solution
2968+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2969+# d$
2970+#
2971+# This program is free software: you can redistribute it and/or modify
2972+# it under the terms of the GNU General Public License as published by
2973+# the Free Software Foundation, either version 3 of the License, or
2974+# (at your option) any later version.
2975+#
2976+# This program is distributed in the hope that it will be useful,
2977+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2978+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2979+# GNU General Public License for more details.
2980+#
2981+# You should have received a copy of the GNU General Public License
2982+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2983+#
2984+##############################################################################
2985+from osv import osv
2986+from osv import fields
2987+from tools.translate import _
2988+
2989+class wizard_multi_charts_accounts(osv.osv_memory):
2990+ """
2991+ wizard_multi_charts_accounts(osv.osv_memory):
2992+ """
2993+ _inherit = 'wizard.multi.charts.accounts'
2994+
2995+ def _get_chart(self, cr, uid, context=None):
2996+ acc_tpl_obj = self.pool.get('account.chart.template')
2997+ ids = acc_tpl_obj.search(cr, uid, [],order='create_date desc', context=context)
2998+ if ids:
2999+ return ids[0]
3000+ return False
3001+
3002+ def _get_default_accounts(self, cr, uid, context=None):
3003+ accounts = []
3004+ return accounts
3005+
3006+ def _get_purchase_tax(self, cr, uid, context=None):
3007+ ids = self.pool.get('account.chart.template').search(cr, uid, [], order='create_date desc', context=context)
3008+ if ids:
3009+ chart_template_id = ids[0]
3010+ purchase_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
3011+ , "=", chart_template_id), ('type_tax_use', 'in', ('purchase','all'))], order="sequence")
3012+ return purchase_tax_ids and purchase_tax_ids[0] or False
3013+ return False
3014+
3015+ def _get_sale_tax(self, cr, uid, context=None):
3016+ ids = self.pool.get('account.chart.template').search(cr, uid, [], order='create_date desc', context=context)
3017+ if ids:
3018+ chart_template_id = ids[0]
3019+ sale_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
3020+ , "=", chart_template_id), ('type_tax_use', 'in', ('sale','all'))], order="sequence")
3021+ return sale_tax_ids and sale_tax_ids[0] or False
3022+ return False
3023+
3024+ _defaults = {
3025+ 'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, [uid], c)[0].company_id.id,
3026+ 'chart_template_id': _get_chart,
3027+ 'bank_accounts_id': _get_default_accounts,
3028+ 'code_digits': 10,
3029+ 'sale_tax': _get_sale_tax,
3030+ 'purchase_tax': _get_purchase_tax,
3031+ 'seq_journal': True
3032+ }
3033+wizard_multi_charts_accounts()
3034+
3035
3036=== added file 'l10n_ve_commerce/account_account.xml'
3037--- l10n_ve_commerce/account_account.xml 1970-01-01 00:00:00 +0000
3038+++ l10n_ve_commerce/account_account.xml 2011-11-15 20:46:26 +0000
3039@@ -0,0 +1,25 @@
3040+<?xml version="1.0"?>
3041+<openerp>
3042+ <data noupdate="1">
3043+
3044+ <!-- Chart template -->
3045+
3046+ <record id="ve_chart_template" model="account.chart.template">
3047+ <field name="name">Chart of Accounts - Commercial - VE</field>
3048+ <field name="account_root_id" ref="chart_0"/>
3049+ <field name="tax_code_root_id" ref="vat_code_tax"/>
3050+<!-- impuestos -->
3051+ <field name="bank_account_view_id" ref="chart_1120112001"/>
3052+<!-- estas no pueden ser vistas-->
3053+ <field name="property_account_receivable" ref="chart_11320"/>
3054+ <field name="property_account_payable" ref="chart_21201"/>
3055+ <field name="property_account_expense_categ" ref="chart_51101"/>
3056+ <field name="property_account_income_categ" ref="chart_41110"/>
3057+<!-- retenciones de iva-->
3058+ <field name="property_wh_iva_payable" ref="chart_1160151612"/>
3059+ <field name="property_wh_iva_receivable" ref="chart_2120561412"/>
3060+
3061+ </record>
3062+
3063+ </data>
3064+</openerp>
3065
3066=== added file 'l10n_ve_commerce/account_account.xml.org'
3067--- l10n_ve_commerce/account_account.xml.org 1970-01-01 00:00:00 +0000
3068+++ l10n_ve_commerce/account_account.xml.org 2011-11-15 20:46:26 +0000
3069@@ -0,0 +1,24 @@
3070+<?xml version="1.0"?>
3071+<openerp>
3072+ <data noupdate="1">
3073+
3074+ <!-- Chart template -->
3075+
3076+ <record id="ve_chart_template" model="account.chart.template">
3077+ <field name="name">Chart of Accounts - Commercial - VE</field>
3078+ <field name="account_root_id" ref="chart_0"/>
3079+ <field name="tax_code_root_id" ref="vat_code_tax"/>
3080+<!-- impuestos -->
3081+ <field name="bank_account_view_id" ref="chart_1120112001"/>
3082+ <field name="property_account_receivable" ref="chart_1121010999"/>
3083+ <field name="property_account_payable" ref="chart_2121010999"/>
3084+ <field name="property_account_expense_categ" ref="chart_5124010999"/>
3085+ <field name="property_account_income_categ" ref="chart_4119001999"/>
3086+<!-- retenciones de iva-->
3087+ <field name="property_wh_iva_payable" ref="chart_411900"/>
3088+ <field name="property_wh_iva_receivable" ref="chart_411900"/>
3089+
3090+ </record>
3091+
3092+ </data>
3093+</openerp>
3094
3095=== added file 'l10n_ve_commerce/account_chart.xml'
3096--- l10n_ve_commerce/account_chart.xml 1970-01-01 00:00:00 +0000
3097+++ l10n_ve_commerce/account_chart.xml 2011-11-15 20:46:26 +0000
3098@@ -0,0 +1,5265 @@
3099+<?xml version='1.0' encoding='UTF-8'?>
3100+<openerp>
3101+ <data noupdate="1">
3102+ <record id="chart_0" model="account.account.template">
3103+ <field name="code">0</field>
3104+ <field name="name">Main Account Company</field>
3105+ <field name="type">view</field>
3106+ <field eval="False" name="reconcile"/>
3107+ <field name="user_type" ref="account_type_view"/>
3108+ </record>
3109+ <record id="chart_1" model="account.account.template">
3110+ <field name="code">1</field>
3111+ <field name="name">ACTIVO</field>
3112+ <field name="type">view</field>
3113+ <field eval="False" name="reconcile"/>
3114+ <field name="user_type" ref="account_type_view"/>
3115+ </record>
3116+ <record id="chart_11" model="account.account.template">
3117+ <field name="code">11</field>
3118+ <field name="name">ACTIVO CIRCULANTE</field>
3119+ <field name="type">view</field>
3120+ <field eval="False" name="reconcile"/>
3121+ <field name="user_type" ref="account_type_view"/>
3122+ <field name="parent_id" ref="chart_1"/>
3123+ </record>
3124+ <record id="chart_110" model="account.account.template">
3125+ <field name="code">110</field>
3126+ <field name="name">EFECTIVO EN CAJAS</field>
3127+ <field name="type">view</field>
3128+ <field eval="False" name="reconcile"/>
3129+ <field name="user_type" ref="account_type_view"/>
3130+ <field name="parent_id" ref="chart_11"/>
3131+ </record>
3132+ <record id="chart_11001" model="account.account.template">
3133+ <field name="code">11001</field>
3134+ <field name="name">CAJA GUARENAS</field>
3135+ <field name="type">view</field>
3136+ <field eval="False" name="reconcile"/>
3137+ <field name="user_type" ref="account_type_view"/>
3138+ <field name="parent_id" ref="chart_110"/>
3139+ </record>
3140+ <record id="chart_11002" model="account.account.template">
3141+ <field name="code">11002</field>
3142+ <field name="name">CAJA VARIAS Y TRANSFERENCIAS</field>
3143+ <field name="type">view</field>
3144+ <field eval="False" name="reconcile"/>
3145+ <field name="user_type" ref="account_type_view"/>
3146+ <field name="parent_id" ref="chart_110"/>
3147+ </record>
3148+ <record id="chart_11003" model="account.account.template">
3149+ <field name="code">11003</field>
3150+ <field name="name">CHEQUES EN CAJA</field>
3151+ <field name="type">view</field>
3152+ <field eval="False" name="reconcile"/>
3153+ <field name="user_type" ref="account_type_view"/>
3154+ <field name="parent_id" ref="chart_110"/>
3155+ </record>
3156+ <record id="chart_11004" model="account.account.template">
3157+ <field name="code">11004</field>
3158+ <field name="name">CAJA EN MONEDAS EXTRANJERAS</field>
3159+ <field name="type">view</field>
3160+ <field eval="False" name="reconcile"/>
3161+ <field name="user_type" ref="account_type_view"/>
3162+ <field name="parent_id" ref="chart_110"/>
3163+ </record>
3164+ <record id="chart_11005" model="account.account.template">
3165+ <field name="code">11005</field>
3166+ <field name="name">CAJA TARJ.DE DEBITOS Y/0 CREDITOS</field>
3167+ <field name="type">view</field>
3168+ <field eval="False" name="reconcile"/>
3169+ <field name="user_type" ref="account_type_view"/>
3170+ <field name="parent_id" ref="chart_110"/>
3171+ </record>
3172+ <record id="chart_111" model="account.account.template">
3173+ <field name="code">111</field>
3174+ <field name="name">EFECTIVO EN BANCOS</field>
3175+ <field name="type">view</field>
3176+ <field eval="False" name="reconcile"/>
3177+ <field name="user_type" ref="account_type_view"/>
3178+ <field name="parent_id" ref="chart_11"/>
3179+ </record>
3180+ <record id="chart_11103" model="account.account.template">
3181+ <field name="code">11103</field>
3182+ <field name="name">BANCOS</field>
3183+ <field name="type">view</field>
3184+ <field eval="False" name="reconcile"/>
3185+ <field name="user_type" ref="account_type_view"/>
3186+ <field name="parent_id" ref="chart_111"/>
3187+ </record>
3188+ <record id="chart_1110311001" model="account.account.template">
3189+ <field name="code">1110311001</field>
3190+ <field name="name">BANESCO CTA.Nº 0134-0335-01-335108954</field>
3191+ <field name="type">other</field>
3192+ <field eval="False" name="reconcile"/>
3193+ <field name="user_type" ref="account_type_view"/>
3194+ <field name="parent_id" ref="chart_11103"/>
3195+ </record>
3196+ <record id="chart_1110311005" model="account.account.template">
3197+ <field name="code">1110311005</field>
3198+ <field name="name">BANESCO CTA.Nº 0134-0379-16-3791037094</field>
3199+ <field name="type">other</field>
3200+ <field eval="False" name="reconcile"/>
3201+ <field name="user_type" ref="account_type_view"/>
3202+ <field name="parent_id" ref="chart_11103"/>
3203+ </record>
3204+ <record id="chart_1110311012" model="account.account.template">
3205+ <field name="code">1110311012</field>
3206+ <field name="name">BICENTENARIO CTA.Nº 0158-0026-74-0261076983</field>
3207+ <field name="type">other</field>
3208+ <field eval="False" name="reconcile"/>
3209+ <field name="user_type" ref="account_type_view"/>
3210+ <field name="parent_id" ref="chart_11103"/>
3211+ </record>
3212+ <record id="chart_1110312001" model="account.account.template">
3213+ <field name="code">1110312001</field>
3214+ <field name="name">CORP BANCA CTA.Nº 0134-1501-03-349838</field>
3215+ <field name="type">other</field>
3216+ <field eval="False" name="reconcile"/>
3217+ <field name="user_type" ref="account_type_view"/>
3218+ <field name="parent_id" ref="chart_11103"/>
3219+ </record>
3220+ <record id="chart_1110312002" model="account.account.template">
3221+ <field name="code">1110312002</field>
3222+ <field name="name">CANARIAS CTA.Nº 0005-0100-00-028577</field>
3223+ <field name="type">other</field>
3224+ <field eval="False" name="reconcile"/>
3225+ <field name="user_type" ref="account_type_view"/>
3226+ <field name="parent_id" ref="chart_11103"/>
3227+ </record>
3228+ <record id="chart_1110313001" model="account.account.template">
3229+ <field name="code">1110313001</field>
3230+ <field name="name">EXTERIOR CTA.Nº 0115-0064-14-1001008355</field>
3231+ <field name="type">other</field>
3232+ <field eval="False" name="reconcile"/>
3233+ <field name="user_type" ref="account_type_view"/>
3234+ <field name="parent_id" ref="chart_11103"/>
3235+ </record>
3236+ <record id="chart_1110315001" model="account.account.template">
3237+ <field name="code">1110315001</field>
3238+ <field name="name">FONDO COMUN CTA.Nº 0171754417104751</field>
3239+ <field name="type">other</field>
3240+ <field eval="False" name="reconcile"/>
3241+ <field name="user_type" ref="account_type_view"/>
3242+ <field name="parent_id" ref="chart_11103"/>
3243+ </record>
3244+ <record id="chart_1110322001" model="account.account.template">
3245+ <field name="code">1110322001</field>
3246+ <field name="name">MERCANTIL CTA.Nº 0029091029211779</field>
3247+ <field name="type">other</field>
3248+ <field eval="False" name="reconcile"/>
3249+ <field name="user_type" ref="account_type_view"/>
3250+ <field name="parent_id" ref="chart_11103"/>
3251+ </record>
3252+ <record id="chart_1110326001" model="account.account.template">
3253+ <field name="code">1110326001</field>
3254+ <field name="name">PROVINCIAL CTA.Nº 0112500100000481</field>
3255+ <field name="type">other</field>
3256+ <field eval="False" name="reconcile"/>
3257+ <field name="user_type" ref="account_type_view"/>
3258+ <field name="parent_id" ref="chart_11103"/>
3259+ </record>
3260+ <record id="chart_1110326002" model="account.account.template">
3261+ <field name="code">1110326002</field>
3262+ <field name="name">PLAZA CTA.Nº 0005780050221663</field>
3263+ <field name="type">other</field>
3264+ <field eval="False" name="reconcile"/>
3265+ <field name="user_type" ref="account_type_view"/>
3266+ <field name="parent_id" ref="chart_11103"/>
3267+ </record>
3268+ <record id="chart_1110332001" model="account.account.template">
3269+ <field name="code">1110332001</field>
3270+ <field name="name">V.DE CREDITO CTA.Nº 0021030210003843</field>
3271+ <field name="type">other</field>
3272+ <field eval="False" name="reconcile"/>
3273+ <field name="user_type" ref="account_type_view"/>
3274+ <field name="parent_id" ref="chart_11103"/>
3275+ </record>
3276+ <record id="chart_1110332002" model="account.account.template">
3277+ <field name="code">1110332002</field>
3278+ <field name="name">VENEZUELA CTA.Nº 0279510000029751</field>
3279+ <field name="type">other</field>
3280+ <field eval="False" name="reconcile"/>
3281+ <field name="user_type" ref="account_type_view"/>
3282+ <field name="parent_id" ref="chart_11103"/>
3283+ </record>
3284+ <record id="chart_1110332003" model="account.account.template">
3285+ <field name="code">1110332003</field>
3286+ <field name="name">VENEZUELA CTA.Nº 0233760000064266</field>
3287+ <field name="type">other</field>
3288+ <field eval="False" name="reconcile"/>
3289+ <field name="user_type" ref="account_type_view"/>
3290+ <field name="parent_id" ref="chart_11103"/>
3291+ </record>
3292+ <record id="chart_11104" model="account.account.template">
3293+ <field name="code">11104</field>
3294+ <field name="name">FONDOS EN MONEDAS EXTRANJERAS</field>
3295+ <field name="type">view</field>
3296+ <field eval="False" name="reconcile"/>
3297+ <field name="user_type" ref="account_type_view"/>
3298+ <field name="parent_id" ref="chart_111"/>
3299+ </record>
3300+ <record id="chart_1110411030" model="account.account.template">
3301+ <field name="code">1110411030</field>
3302+ <field name="name">BISCAYNE BANK, N.A CTA.Nº 1020673 DOLAR</field>
3303+ <field name="type">other</field>
3304+ <field eval="False" name="reconcile"/>
3305+ <field name="user_type" ref="account_type_view"/>
3306+ <field name="parent_id" ref="chart_11104"/>
3307+ </record>
3308+ <record id="chart_1110412001" model="account.account.template">
3309+ <field name="code">1110412001</field>
3310+ <field name="name">CORP BANCA CTA.Nº 3228258 DOLAR</field>
3311+ <field name="type">other</field>
3312+ <field eval="False" name="reconcile"/>
3313+ <field name="user_type" ref="account_type_view"/>
3314+ <field name="parent_id" ref="chart_11104"/>
3315+ </record>
3316+ <record id="chart_1110412003" model="account.account.template">
3317+ <field name="code">1110412003</field>
3318+ <field name="name">CORP BANCA CTA.Nº 4000360 EUROS</field>
3319+ <field name="type">other</field>
3320+ <field eval="False" name="reconcile"/>
3321+ <field name="user_type" ref="account_type_view"/>
3322+ <field name="parent_id" ref="chart_11104"/>
3323+ </record>
3324+ <record id="chart_1110417001" model="account.account.template">
3325+ <field name="code">1110417001</field>
3326+ <field name="name">HSBC CTA.Nº 0605151032 DOLAR</field>
3327+ <field name="type">other</field>
3328+ <field eval="False" name="reconcile"/>
3329+ <field name="user_type" ref="account_type_view"/>
3330+ <field name="parent_id" ref="chart_11104"/>
3331+ </record>
3332+ <record id="chart_1110417002" model="account.account.template">
3333+ <field name="code">1110417002</field>
3334+ <field name="name">HSBC CTA.Nº 0337285767 DOLAR</field>
3335+ <field name="type">other</field>
3336+ <field eval="False" name="reconcile"/>
3337+ <field name="user_type" ref="account_type_view"/>
3338+ <field name="parent_id" ref="chart_11104"/>
3339+ </record>
3340+ <record id="chart_1110425001" model="account.account.template">
3341+ <field name="code">1110425001</field>
3342+ <field name="name">BANCO DEL ORINOCO N.V.$ CTA.Nº 400174</field>
3343+ <field name="type">other</field>
3344+ <field eval="False" name="reconcile"/>
3345+ <field name="user_type" ref="account_type_view"/>
3346+ <field name="parent_id" ref="chart_11104"/>
3347+ </record>
3348+ <record id="chart_1110425002" model="account.account.template">
3349+ <field name="code">1110425002</field>
3350+ <field name="name">BANCO DEL ORINOCO N.V. € CTA.Nº 205885</field>
3351+ <field name="type">other</field>
3352+ <field eval="False" name="reconcile"/>
3353+ <field name="user_type" ref="account_type_view"/>
3354+ <field name="parent_id" ref="chart_11104"/>
3355+ </record>
3356+ <record id="chart_112" model="account.account.template">
3357+ <field name="code">112</field>
3358+ <field name="name">INVERSIONES TEMPORALES (PLAZO FIJO)</field>
3359+ <field name="type">view</field>
3360+ <field eval="False" name="reconcile"/>
3361+ <field name="user_type" ref="account_type_view"/>
3362+ <field name="parent_id" ref="chart_11"/>
3363+ </record>
3364+ <record id="chart_11201" model="account.account.template">
3365+ <field name="code">11201</field>
3366+ <field name="name">FONDOS DE ACTIVOS LIQUIDOS</field>
3367+ <field name="type">view</field>
3368+ <field eval="False" name="reconcile"/>
3369+ <field name="user_type" ref="account_type_view"/>
3370+ <field name="parent_id" ref="chart_112"/>
3371+ </record>
3372+ <record id="chart_1120112001" model="account.account.template">
3373+ <field name="code">1120112001</field>
3374+ <field name="name">CORP BANCA CTA.Nº 0134100300017479</field>
3375+ <field name="type">other</field>
3376+ <field eval="False" name="reconcile"/>
3377+ <field name="user_type" ref="account_type_view"/>
3378+ <field name="parent_id" ref="chart_11201"/>
3379+ </record>
3380+ <record id="chart_1120112002" model="account.account.template">
3381+ <field name="code">1120112002</field>
3382+ <field name="name">CANARIAS CTA.Nº 0005009020031113</field>
3383+ <field name="type">other</field>
3384+ <field eval="False" name="reconcile"/>
3385+ <field name="user_type" ref="account_type_view"/>
3386+ <field name="parent_id" ref="chart_11201"/>
3387+ </record>
3388+ <record id="chart_11202" model="account.account.template">
3389+ <field name="code">11202</field>
3390+ <field name="name">DEPOSITO PLAZO FIJO</field>
3391+ <field name="type">view</field>
3392+ <field eval="False" name="reconcile"/>
3393+ <field name="user_type" ref="account_type_view"/>
3394+ <field name="parent_id" ref="chart_112"/>
3395+ </record>
3396+ <record id="chart_11204" model="account.account.template">
3397+ <field name="code">11204</field>
3398+ <field name="name">DEPOSITO PLAZO FIJO MONEDAS EXTRANJERAS</field>
3399+ <field name="type">view</field>
3400+ <field eval="False" name="reconcile"/>
3401+ <field name="user_type" ref="account_type_view"/>
3402+ <field name="parent_id" ref="chart_112"/>
3403+ </record>
3404+ <record id="chart_1120417002" model="account.account.template">
3405+ <field name="code">1120417002</field>
3406+ <field name="name">DEPOSITO PLAZO FIJO HSBC.</field>
3407+ <field name="type">other</field>
3408+ <field eval="False" name="reconcile"/>
3409+ <field name="user_type" ref="account_type_view"/>
3410+ <field name="parent_id" ref="chart_11204"/>
3411+ </record>
3412+ <record id="chart_11211" model="account.account.template">
3413+ <field name="code">11211</field>
3414+ <field name="name">TITULOS DEUDA PUBLICA NACIONAL</field>
3415+ <field name="type">view</field>
3416+ <field eval="False" name="reconcile"/>
3417+ <field name="user_type" ref="account_type_view"/>
3418+ <field name="parent_id" ref="chart_112"/>
3419+ </record>
3420+ <record id="chart_11212" model="account.account.template">
3421+ <field name="code">11212</field>
3422+ <field name="name">TITULOS POR SITME (SIST.TRANS.TITULOS MON.EXT)</field>
3423+ <field name="type">view</field>
3424+ <field eval="False" name="reconcile"/>
3425+ <field name="user_type" ref="account_type_view"/>
3426+ <field name="parent_id" ref="chart_112"/>
3427+ </record>
3428+ <record id="chart_113" model="account.account.template">
3429+ <field name="code">113</field>
3430+ <field name="name">EXIGIBLES</field>
3431+ <field name="type">view</field>
3432+ <field eval="False" name="reconcile"/>
3433+ <field name="user_type" ref="account_type_view"/>
3434+ <field name="parent_id" ref="chart_11"/>
3435+ </record>
3436+ <record id="chart_11301" model="account.account.template">
3437+ <field name="code">11301</field>
3438+ <field name="name">EFECTOS POR COBRAR</field>
3439+ <field name="type">view</field>
3440+ <field eval="False" name="reconcile"/>
3441+ <field name="user_type" ref="account_type_view"/>
3442+ <field name="parent_id" ref="chart_113"/>
3443+ </record>
3444+ <record id="chart_11315" model="account.account.template">
3445+ <field name="code">11315</field>
3446+ <field name="name">EFECTOS POR COBRAR DESCONTADO</field>
3447+ <field name="type">view</field>
3448+ <field eval="False" name="reconcile"/>
3449+ <field name="user_type" ref="account_type_view"/>
3450+ <field name="parent_id" ref="chart_113"/>
3451+ </record>
3452+ <record id="chart_11320" model="account.account.template">
3453+ <field name="code">11320</field>
3454+ <field name="name">CUENTAS POR COBRAR COMERCIALES</field>
3455+ <field name="type">other</field>
3456+ <field eval="False" name="reconcile"/>
3457+ <field name="user_type" ref="account_type_view"/>
3458+ <field name="parent_id" ref="chart_113"/>
3459+ </record>
3460+ <record id="chart_11321" model="account.account.template">
3461+ <field name="code">11321</field>
3462+ <field name="name">CUENTAS POR COBRAR EMPRESAS RELACIONADAS</field>
3463+ <field name="type">view</field>
3464+ <field eval="False" name="reconcile"/>
3465+ <field name="user_type" ref="account_type_view"/>
3466+ <field name="parent_id" ref="chart_113"/>
3467+ </record>
3468+ <record id="chart_1132113121" model="account.account.template">
3469+ <field name="code">1132113121</field>
3470+ <field name="name">DISTRIBUIDORA ACROPOLIS, C.A.</field>
3471+ <field name="type">other</field>
3472+ <field eval="False" name="reconcile"/>
3473+ <field name="user_type" ref="account_type_view"/>
3474+ <field name="parent_id" ref="chart_11321"/>
3475+ </record>
3476+ <record id="chart_1132113132" model="account.account.template">
3477+ <field name="code">1132113132</field>
3478+ <field name="name">DISTRIBUIDORA ACROPOL.GUAYANA,C.A.</field>
3479+ <field name="type">other</field>
3480+ <field eval="False" name="reconcile"/>
3481+ <field name="user_type" ref="account_type_view"/>
3482+ <field name="parent_id" ref="chart_11321"/>
3483+ </record>
3484+ <record id="chart_1132113133" model="account.account.template">
3485+ <field name="code">1132113133</field>
3486+ <field name="name">REVESTIMIENTO DACROPOLIS,C.A.</field>
3487+ <field name="type">other</field>
3488+ <field eval="False" name="reconcile"/>
3489+ <field name="user_type" ref="account_type_view"/>
3490+ <field name="parent_id" ref="chart_11321"/>
3491+ </record>
3492+ <record id="chart_1132113134" model="account.account.template">
3493+ <field name="code">1132113134</field>
3494+ <field name="name">DISTRIBUIDORA ACROPOL.MONAGAS,C.A.</field>
3495+ <field name="type">other</field>
3496+ <field eval="False" name="reconcile"/>
3497+ <field name="user_type" ref="account_type_view"/>
3498+ <field name="parent_id" ref="chart_11321"/>
3499+ </record>
3500+ <record id="chart_1132113135" model="account.account.template">
3501+ <field name="code">1132113135</field>
3502+ <field name="name">DISTRIBUIDORA ACROP. MARACAY, C.A.</field>
3503+ <field name="type">other</field>
3504+ <field eval="False" name="reconcile"/>
3505+ <field name="user_type" ref="account_type_view"/>
3506+ <field name="parent_id" ref="chart_11321"/>
3507+ </record>
3508+ <record id="chart_1132113177" model="account.account.template">
3509+ <field name="code">1132113177</field>
3510+ <field name="name">DISTRIB.ACROPOLIS BARQUISIMETO, C.A.</field>
3511+ <field name="type">other</field>
3512+ <field eval="False" name="reconcile"/>
3513+ <field name="user_type" ref="account_type_view"/>
3514+ <field name="parent_id" ref="chart_11321"/>
3515+ </record>
3516+ <record id="chart_1132113178" model="account.account.template">
3517+ <field name="code">1132113178</field>
3518+ <field name="name">DISTRIB.ACROPOLIS MARACAIBO, C.A.</field>
3519+ <field name="type">other</field>
3520+ <field eval="False" name="reconcile"/>
3521+ <field name="user_type" ref="account_type_view"/>
3522+ <field name="parent_id" ref="chart_11321"/>
3523+ </record>
3524+ <record id="chart_1132113180" model="account.account.template">
3525+ <field name="code">1132113180</field>
3526+ <field name="name">DISTRIBUIDORA ACROPOLIS FALCON, C.A.</field>
3527+ <field name="type">other</field>
3528+ <field eval="False" name="reconcile"/>
3529+ <field name="user_type" ref="account_type_view"/>
3530+ <field name="parent_id" ref="chart_11321"/>
3531+ </record>
3532+ <record id="chart_1132114005" model="account.account.template">
3533+ <field name="code">1132114005</field>
3534+ <field name="name">EXPLOTACION PIEDRAS DE GUAYANA, C.A.</field>
3535+ <field name="type">other</field>
3536+ <field eval="False" name="reconcile"/>
3537+ <field name="user_type" ref="account_type_view"/>
3538+ <field name="parent_id" ref="chart_11321"/>
3539+ </record>
3540+ <record id="chart_11330" model="account.account.template">
3541+ <field name="code">11330</field>
3542+ <field name="name">CUENTAS POR COBRAR AL EXTERIOR</field>
3543+ <field name="type">view</field>
3544+ <field eval="False" name="reconcile"/>
3545+ <field name="user_type" ref="account_type_view"/>
3546+ <field name="parent_id" ref="chart_113"/>
3547+ </record>
3548+ <record id="chart_11390" model="account.account.template">
3549+ <field name="code">11390</field>
3550+ <field name="name">PROVISION PARA CUENTAS INCOBRABLES</field>
3551+ <field name="type">view</field>
3552+ <field eval="False" name="reconcile"/>
3553+ <field name="user_type" ref="account_type_view"/>
3554+ <field name="parent_id" ref="chart_113"/>
3555+ </record>
3556+ <record id="chart_114" model="account.account.template">
3557+ <field name="code">114</field>
3558+ <field name="name">OTRAS CUENTAS POR COBRAR</field>
3559+ <field name="type">view</field>
3560+ <field eval="False" name="reconcile"/>
3561+ <field name="user_type" ref="account_type_view"/>
3562+ <field name="parent_id" ref="chart_11"/>
3563+ </record>
3564+ <record id="chart_11401" model="account.account.template">
3565+ <field name="code">11401</field>
3566+ <field name="name">CUENTAS POR COBRAR DIRECTORES Y ACCIONISTAS</field>
3567+ <field name="type">view</field>
3568+ <field eval="False" name="reconcile"/>
3569+ <field name="user_type" ref="account_type_view"/>
3570+ <field name="parent_id" ref="chart_114"/>
3571+ </record>
3572+ <record id="chart_1140128002" model="account.account.template">
3573+ <field name="code">1140128002</field>
3574+ <field name="name">RUSCINO GOFFREDO</field>
3575+ <field name="type">other</field>
3576+ <field eval="False" name="reconcile"/>
3577+ <field name="user_type" ref="account_type_view"/>
3578+ <field name="parent_id" ref="chart_11401"/>
3579+ </record>
3580+ <record id="chart_1140128003" model="account.account.template">
3581+ <field name="code">1140128003</field>
3582+ <field name="name">RUSCINO MIGUEL</field>
3583+ <field name="type">other</field>
3584+ <field eval="False" name="reconcile"/>
3585+ <field name="user_type" ref="account_type_view"/>
3586+ <field name="parent_id" ref="chart_11401"/>
3587+ </record>
3588+ <record id="chart_1140132001" model="account.account.template">
3589+ <field name="code">1140132001</field>
3590+ <field name="name">VISICCHIO ROBERTO</field>
3591+ <field name="type">other</field>
3592+ <field eval="False" name="reconcile"/>
3593+ <field name="user_type" ref="account_type_view"/>
3594+ <field name="parent_id" ref="chart_11401"/>
3595+ </record>
3596+ <record id="chart_1140132003" model="account.account.template">
3597+ <field name="code">1140132003</field>
3598+ <field name="name">VISICCHIO SILVANA</field>
3599+ <field name="type">other</field>
3600+ <field eval="False" name="reconcile"/>
3601+ <field name="user_type" ref="account_type_view"/>
3602+ <field name="parent_id" ref="chart_11401"/>
3603+ </record>
3604+ <record id="chart_1140132004" model="account.account.template">
3605+ <field name="code">1140132004</field>
3606+ <field name="name">VISICCHIO ALBERTO</field>
3607+ <field name="type">other</field>
3608+ <field eval="False" name="reconcile"/>
3609+ <field name="user_type" ref="account_type_view"/>
3610+ <field name="parent_id" ref="chart_11401"/>
3611+ </record>
3612+ <record id="chart_1140132005" model="account.account.template">
3613+ <field name="code">1140132005</field>
3614+ <field name="name">VISICCHIO RITA</field>
3615+ <field name="type">other</field>
3616+ <field eval="False" name="reconcile"/>
3617+ <field name="user_type" ref="account_type_view"/>
3618+ <field name="parent_id" ref="chart_11401"/>
3619+ </record>
3620+ <record id="chart_1140132006" model="account.account.template">
3621+ <field name="code">1140132006</field>
3622+ <field name="name">VISICCHIO GIANCARLOS</field>
3623+ <field name="type">other</field>
3624+ <field eval="False" name="reconcile"/>
3625+ <field name="user_type" ref="account_type_view"/>
3626+ <field name="parent_id" ref="chart_11401"/>
3627+ </record>
3628+ <record id="chart_11402" model="account.account.template">
3629+ <field name="code">11402</field>
3630+ <field name="name">CUENTAS POR COBRAR EMPRESAS FILIALES</field>
3631+ <field name="type">view</field>
3632+ <field eval="False" name="reconcile"/>
3633+ <field name="user_type" ref="account_type_view"/>
3634+ <field name="parent_id" ref="chart_114"/>
3635+ </record>
3636+ <record id="chart_11403" model="account.account.template">
3637+ <field name="code">11403</field>
3638+ <field name="name">PRESTAMOS A EMPRESAS RELACIONADAS</field>
3639+ <field name="type">view</field>
3640+ <field eval="False" name="reconcile"/>
3641+ <field name="user_type" ref="account_type_view"/>
3642+ <field name="parent_id" ref="chart_114"/>
3643+ </record>
3644+ <record id="chart_1140313121" model="account.account.template">
3645+ <field name="code">1140313121</field>
3646+ <field name="name">DISTRIBUIDORA ACROPOLIS, C.A.</field>
3647+ <field name="type">other</field>
3648+ <field eval="False" name="reconcile"/>
3649+ <field name="user_type" ref="account_type_view"/>
3650+ <field name="parent_id" ref="chart_11403"/>
3651+ </record>
3652+ <record id="chart_1140313132" model="account.account.template">
3653+ <field name="code">1140313132</field>
3654+ <field name="name">DISTRIBUIDORA ACROPOLIS GUAYANA</field>
3655+ <field name="type">other</field>
3656+ <field eval="False" name="reconcile"/>
3657+ <field name="user_type" ref="account_type_view"/>
3658+ <field name="parent_id" ref="chart_11403"/>
3659+ </record>
3660+ <record id="chart_1140313133" model="account.account.template">
3661+ <field name="code">1140313133</field>
3662+ <field name="name">REVESTIMIENTO DACROPOLIS, C.A.</field>
3663+ <field name="type">other</field>
3664+ <field eval="False" name="reconcile"/>
3665+ <field name="user_type" ref="account_type_view"/>
3666+ <field name="parent_id" ref="chart_11403"/>
3667+ </record>
3668+ <record id="chart_1140313134" model="account.account.template">
3669+ <field name="code">1140313134</field>
3670+ <field name="name">DISTRIBUID.ACROPOLIS MONAGAS, C.A.</field>
3671+ <field name="type">other</field>
3672+ <field eval="False" name="reconcile"/>
3673+ <field name="user_type" ref="account_type_view"/>
3674+ <field name="parent_id" ref="chart_11403"/>
3675+ </record>
3676+ <record id="chart_1140313135" model="account.account.template">
3677+ <field name="code">1140313135</field>
3678+ <field name="name">DISTRIBUID.ACROPOLIS MARACAY, C.A.</field>
3679+ <field name="type">other</field>
3680+ <field eval="False" name="reconcile"/>
3681+ <field name="user_type" ref="account_type_view"/>
3682+ <field name="parent_id" ref="chart_11403"/>
3683+ </record>
3684+ <record id="chart_1140313177" model="account.account.template">
3685+ <field name="code">1140313177</field>
3686+ <field name="name">DISTRIB.ACROPOLIS BARQUISIMETO, C.A.</field>
3687+ <field name="type">other</field>
3688+ <field eval="False" name="reconcile"/>
3689+ <field name="user_type" ref="account_type_view"/>
3690+ <field name="parent_id" ref="chart_11403"/>
3691+ </record>
3692+ <record id="chart_1140313178" model="account.account.template">
3693+ <field name="code">1140313178</field>
3694+ <field name="name">DISTRIB.ACROPOLIS MARACAIBO, C.A.</field>
3695+ <field name="type">other</field>
3696+ <field eval="False" name="reconcile"/>
3697+ <field name="user_type" ref="account_type_view"/>
3698+ <field name="parent_id" ref="chart_11403"/>
3699+ </record>
3700+ <record id="chart_1140313179" model="account.account.template">
3701+ <field name="code">1140313179</field>
3702+ <field name="name">DISTRIB.ACROPOLIS SAN CRISTOBAL, C.A.</field>
3703+ <field name="type">other</field>
3704+ <field eval="False" name="reconcile"/>
3705+ <field name="user_type" ref="account_type_view"/>
3706+ <field name="parent_id" ref="chart_11403"/>
3707+ </record>
3708+ <record id="chart_1140313180" model="account.account.template">
3709+ <field name="code">1140313180</field>
3710+ <field name="name">DISTRIBUIDORA ACROPOLIS FALCON, C.A.</field>
3711+ <field name="type">other</field>
3712+ <field eval="False" name="reconcile"/>
3713+ <field name="user_type" ref="account_type_view"/>
3714+ <field name="parent_id" ref="chart_11403"/>
3715+ </record>
3716+ <record id="chart_1140314005" model="account.account.template">
3717+ <field name="code">1140314005</field>
3718+ <field name="name">EXPLOTACION PIEDRAS DE GUAYANA, C.A.</field>
3719+ <field name="type">other</field>
3720+ <field eval="False" name="reconcile"/>
3721+ <field name="user_type" ref="account_type_view"/>
3722+ <field name="parent_id" ref="chart_11403"/>
3723+ </record>
3724+ <record id="chart_11404" model="account.account.template">
3725+ <field name="code">11404</field>
3726+ <field name="name">CUENTAS POR COBRAR EMPLEADOS</field>
3727+ <field name="type">view</field>
3728+ <field eval="False" name="reconcile"/>
3729+ <field name="user_type" ref="account_type_view"/>
3730+ <field name="parent_id" ref="chart_114"/>
3731+ </record>
3732+ <record id="chart_1140410001" model="account.account.template">
3733+ <field name="code">1140410001</field>
3734+ <field name="name">ARBELO JESUS</field>
3735+ <field name="type">other</field>
3736+ <field eval="False" name="reconcile"/>
3737+ <field name="user_type" ref="account_type_view"/>
3738+ <field name="parent_id" ref="chart_11404"/>
3739+ </record>
3740+ <record id="chart_1140422002" model="account.account.template">
3741+ <field name="code">1140422002</field>
3742+ <field name="name">MILLAN AIDEE</field>
3743+ <field name="type">other</field>
3744+ <field eval="False" name="reconcile"/>
3745+ <field name="user_type" ref="account_type_view"/>
3746+ <field name="parent_id" ref="chart_11404"/>
3747+ </record>
3748+ <record id="chart_1140426001" model="account.account.template">
3749+ <field name="code">1140426001</field>
3750+ <field name="name">PEARSON ANTONIO</field>
3751+ <field name="type">other</field>
3752+ <field eval="False" name="reconcile"/>
3753+ <field name="user_type" ref="account_type_view"/>
3754+ <field name="parent_id" ref="chart_11404"/>
3755+ </record>
3756+ <record id="chart_1140426002" model="account.account.template">
3757+ <field name="code">1140426002</field>
3758+ <field name="name">PADOVANI ROBERT</field>
3759+ <field name="type">other</field>
3760+ <field eval="False" name="reconcile"/>
3761+ <field name="user_type" ref="account_type_view"/>
3762+ <field name="parent_id" ref="chart_11404"/>
3763+ </record>
3764+ <record id="chart_1140426003" model="account.account.template">
3765+ <field name="code">1140426003</field>
3766+ <field name="name">PALACIOS BLASINA</field>
3767+ <field name="type">other</field>
3768+ <field eval="False" name="reconcile"/>
3769+ <field name="user_type" ref="account_type_view"/>
3770+ <field name="parent_id" ref="chart_11404"/>
3771+ </record>
3772+ <record id="chart_1140428001" model="account.account.template">
3773+ <field name="code">1140428001</field>
3774+ <field name="name">RAMOS ODALYS</field>
3775+ <field name="type">other</field>
3776+ <field eval="False" name="reconcile"/>
3777+ <field name="user_type" ref="account_type_view"/>
3778+ <field name="parent_id" ref="chart_11404"/>
3779+ </record>
3780+ <record id="chart_1140429008" model="account.account.template">
3781+ <field name="code">1140429008</field>
3782+ <field name="name">SOTO P. DINA C.</field>
3783+ <field name="type">other</field>
3784+ <field eval="False" name="reconcile"/>
3785+ <field name="user_type" ref="account_type_view"/>
3786+ <field name="parent_id" ref="chart_11404"/>
3787+ </record>
3788+ <record id="chart_1140429009" model="account.account.template">
3789+ <field name="code">1140429009</field>
3790+ <field name="name">MARQUEZ JUAN</field>
3791+ <field name="type">other</field>
3792+ <field eval="False" name="reconcile"/>
3793+ <field name="user_type" ref="account_type_view"/>
3794+ <field name="parent_id" ref="chart_11404"/>
3795+ </record>
3796+ <record id="chart_1140429010" model="account.account.template">
3797+ <field name="code">1140429010</field>
3798+ <field name="name">FERNANDEZ DE CUEVAS ELIZABETH</field>
3799+ <field name="type">other</field>
3800+ <field eval="False" name="reconcile"/>
3801+ <field name="user_type" ref="account_type_view"/>
3802+ <field name="parent_id" ref="chart_11404"/>
3803+ </record>
3804+ <record id="chart_1140429011" model="account.account.template">
3805+ <field name="code">1140429011</field>
3806+ <field name="name">SILVA JEREYS</field>
3807+ <field name="type">other</field>
3808+ <field eval="False" name="reconcile"/>
3809+ <field name="user_type" ref="account_type_view"/>
3810+ <field name="parent_id" ref="chart_11404"/>
3811+ </record>
3812+ <record id="chart_1140429012" model="account.account.template">
3813+ <field name="code">1140429012</field>
3814+ <field name="name">TRUJILLO BIVINA</field>
3815+ <field name="type">other</field>
3816+ <field eval="False" name="reconcile"/>
3817+ <field name="user_type" ref="account_type_view"/>
3818+ <field name="parent_id" ref="chart_11404"/>
3819+ </record>
3820+ <record id="chart_1140429013" model="account.account.template">
3821+ <field name="code">1140429013</field>
3822+ <field name="name">ANGULO KAREN</field>
3823+ <field name="type">other</field>
3824+ <field eval="False" name="reconcile"/>
3825+ <field name="user_type" ref="account_type_view"/>
3826+ <field name="parent_id" ref="chart_11404"/>
3827+ </record>
3828+ <record id="chart_1140429014" model="account.account.template">
3829+ <field name="code">1140429014</field>
3830+ <field name="name">PEREZ AIRAM</field>
3831+ <field name="type">other</field>
3832+ <field eval="False" name="reconcile"/>
3833+ <field name="user_type" ref="account_type_view"/>
3834+ <field name="parent_id" ref="chart_11404"/>
3835+ </record>
3836+ <record id="chart_1140429015" model="account.account.template">
3837+ <field name="code">1140429015</field>
3838+ <field name="name">PEREZ ADRIANA</field>
3839+ <field name="type">other</field>
3840+ <field eval="False" name="reconcile"/>
3841+ <field name="user_type" ref="account_type_view"/>
3842+ <field name="parent_id" ref="chart_11404"/>
3843+ </record>
3844+ <record id="chart_1140429016" model="account.account.template">
3845+ <field name="code">1140429016</field>
3846+ <field name="name">BIASETTI DIANNA</field>
3847+ <field name="type">other</field>
3848+ <field eval="False" name="reconcile"/>
3849+ <field name="user_type" ref="account_type_view"/>
3850+ <field name="parent_id" ref="chart_11404"/>
3851+ </record>
3852+ <record id="chart_1140429017" model="account.account.template">
3853+ <field name="code">1140429017</field>
3854+ <field name="name">BERNABEU ADRIANA</field>
3855+ <field name="type">other</field>
3856+ <field eval="False" name="reconcile"/>
3857+ <field name="user_type" ref="account_type_view"/>
3858+ <field name="parent_id" ref="chart_11404"/>
3859+ </record>
3860+ <record id="chart_1140499999" model="account.account.template">
3861+ <field name="code">1140499999</field>
3862+ <field name="name">CUENTAS POR COBRAR VARIAS</field>
3863+ <field name="type">other</field>
3864+ <field eval="False" name="reconcile"/>
3865+ <field name="user_type" ref="account_type_view"/>
3866+ <field name="parent_id" ref="chart_11404"/>
3867+ </record>
3868+ <record id="chart_11405" model="account.account.template">
3869+ <field name="code">11405</field>
3870+ <field name="name">CUENTAS POR COBRAR OBREROS</field>
3871+ <field name="type">view</field>
3872+ <field eval="False" name="reconcile"/>
3873+ <field name="user_type" ref="account_type_view"/>
3874+ <field name="parent_id" ref="chart_114"/>
3875+ </record>
3876+ <record id="chart_1140510016" model="account.account.template">
3877+ <field name="code">1140510016</field>
3878+ <field name="name">ANTOIMA ANGEL</field>
3879+ <field name="type">other</field>
3880+ <field eval="False" name="reconcile"/>
3881+ <field name="user_type" ref="account_type_view"/>
3882+ <field name="parent_id" ref="chart_11405"/>
3883+ </record>
3884+ <record id="chart_1140510040" model="account.account.template">
3885+ <field name="code">1140510040</field>
3886+ <field name="name">ARAUJO JOSE DAVID</field>
3887+ <field name="type">other</field>
3888+ <field eval="False" name="reconcile"/>
3889+ <field name="user_type" ref="account_type_view"/>
3890+ <field name="parent_id" ref="chart_11405"/>
3891+ </record>
3892+ <record id="chart_1140511001" model="account.account.template">
3893+ <field name="code">1140511001</field>
3894+ <field name="name">BARRIOS NAVAS ABRANHAN</field>
3895+ <field name="type">other</field>
3896+ <field eval="False" name="reconcile"/>
3897+ <field name="user_type" ref="account_type_view"/>
3898+ <field name="parent_id" ref="chart_11405"/>
3899+ </record>
3900+ <record id="chart_1140512005" model="account.account.template">
3901+ <field name="code">1140512005</field>
3902+ <field name="name">CEBALLOS RONALD JOSE</field>
3903+ <field name="type">other</field>
3904+ <field eval="False" name="reconcile"/>
3905+ <field name="user_type" ref="account_type_view"/>
3906+ <field name="parent_id" ref="chart_11405"/>
3907+ </record>
3908+ <record id="chart_1140512006" model="account.account.template">
3909+ <field name="code">1140512006</field>
3910+ <field name="name">CONTRERAS ORELLANO JOSE SANTOS</field>
3911+ <field name="type">other</field>
3912+ <field eval="False" name="reconcile"/>
3913+ <field name="user_type" ref="account_type_view"/>
3914+ <field name="parent_id" ref="chart_11405"/>
3915+ </record>
3916+ <record id="chart_1140512040" model="account.account.template">
3917+ <field name="code">1140512040</field>
3918+ <field name="name">COLMENARES A. ERICK M.</field>
3919+ <field name="type">other</field>
3920+ <field eval="False" name="reconcile"/>
3921+ <field name="user_type" ref="account_type_view"/>
3922+ <field name="parent_id" ref="chart_11405"/>
3923+ </record>
3924+ <record id="chart_1140513015" model="account.account.template">
3925+ <field name="code">1140513015</field>
3926+ <field name="name">DURAN R. FREDDY E.</field>
3927+ <field name="type">other</field>
3928+ <field eval="False" name="reconcile"/>
3929+ <field name="user_type" ref="account_type_view"/>
3930+ <field name="parent_id" ref="chart_11405"/>
3931+ </record>
3932+ <record id="chart_1140514005" model="account.account.template">
3933+ <field name="code">1140514005</field>
3934+ <field name="name">ESPINOZA JUAN E.</field>
3935+ <field name="type">other</field>
3936+ <field eval="False" name="reconcile"/>
3937+ <field name="user_type" ref="account_type_view"/>
3938+ <field name="parent_id" ref="chart_11405"/>
3939+ </record>
3940+ <record id="chart_1140514006" model="account.account.template">
3941+ <field name="code">1140514006</field>
3942+ <field name="name">ESCALANTE JOSE GREGORIO</field>
3943+ <field name="type">other</field>
3944+ <field eval="False" name="reconcile"/>
3945+ <field name="user_type" ref="account_type_view"/>
3946+ <field name="parent_id" ref="chart_11405"/>
3947+ </record>
3948+ <record id="chart_1140516001" model="account.account.template">
3949+ <field name="code">1140516001</field>
3950+ <field name="name">GOMEZ MORENO JUNIOR</field>
3951+ <field name="type">other</field>
3952+ <field eval="False" name="reconcile"/>
3953+ <field name="user_type" ref="account_type_view"/>
3954+ <field name="parent_id" ref="chart_11405"/>
3955+ </record>
3956+ <record id="chart_1140516002" model="account.account.template">
3957+ <field name="code">1140516002</field>
3958+ <field name="name">GUTIERREZ LUIS</field>
3959+ <field name="type">other</field>
3960+ <field eval="False" name="reconcile"/>
3961+ <field name="user_type" ref="account_type_view"/>
3962+ <field name="parent_id" ref="chart_11405"/>
3963+ </record>
3964+ <record id="chart_1140516003" model="account.account.template">
3965+ <field name="code">1140516003</field>
3966+ <field name="name">GONZALEZ HERNAN</field>
3967+ <field name="type">other</field>
3968+ <field eval="False" name="reconcile"/>
3969+ <field name="user_type" ref="account_type_view"/>
3970+ <field name="parent_id" ref="chart_11405"/>
3971+ </record>
3972+ <record id="chart_1140516004" model="account.account.template">
3973+ <field name="code">1140516004</field>
3974+ <field name="name">GONZALEZ JUNIOR</field>
3975+ <field name="type">other</field>
3976+ <field eval="False" name="reconcile"/>
3977+ <field name="user_type" ref="account_type_view"/>
3978+ <field name="parent_id" ref="chart_11405"/>
3979+ </record>
3980+ <record id="chart_1140516005" model="account.account.template">
3981+ <field name="code">1140516005</field>
3982+ <field name="name">GONZALEZ CANDELARIO</field>
3983+ <field name="type">other</field>
3984+ <field eval="False" name="reconcile"/>
3985+ <field name="user_type" ref="account_type_view"/>
3986+ <field name="parent_id" ref="chart_11405"/>
3987+ </record>
3988+ <record id="chart_1140516012" model="account.account.template">
3989+ <field name="code">1140516012</field>
3990+ <field name="name">GONZALEZ JINMY</field>
3991+ <field name="type">other</field>
3992+ <field eval="False" name="reconcile"/>
3993+ <field name="user_type" ref="account_type_view"/>
3994+ <field name="parent_id" ref="chart_11405"/>
3995+ </record>
3996+ <record id="chart_1140516013" model="account.account.template">
3997+ <field name="code">1140516013</field>
3998+ <field name="name">GARCIA C. KENT J.</field>
3999+ <field name="type">other</field>
4000+ <field eval="False" name="reconcile"/>
4001+ <field name="user_type" ref="account_type_view"/>
4002+ <field name="parent_id" ref="chart_11405"/>
4003+ </record>
4004+ <record id="chart_1140516014" model="account.account.template">
4005+ <field name="code">1140516014</field>
4006+ <field name="name">GONZALEZ R. ILDEMAR C.</field>
4007+ <field name="type">other</field>
4008+ <field eval="False" name="reconcile"/>
4009+ <field name="user_type" ref="account_type_view"/>
4010+ <field name="parent_id" ref="chart_11405"/>
4011+ </record>
4012+ <record id="chart_1140516015" model="account.account.template">
4013+ <field name="code">1140516015</field>
4014+ <field name="name">GOMEZ G. YONDER J.</field>
4015+ <field name="type">other</field>
4016+ <field eval="False" name="reconcile"/>
4017+ <field name="user_type" ref="account_type_view"/>
4018+ <field name="parent_id" ref="chart_11405"/>
4019+ </record>
4020+ <record id="chart_1140517010" model="account.account.template">
4021+ <field name="code">1140517010</field>
4022+ <field name="name">HERNANDEZ FREDYS</field>
4023+ <field name="type">other</field>
4024+ <field eval="False" name="reconcile"/>
4025+ <field name="user_type" ref="account_type_view"/>
4026+ <field name="parent_id" ref="chart_11405"/>
4027+ </record>
4028+ <record id="chart_1140517015" model="account.account.template">
4029+ <field name="code">1140517015</field>
4030+ <field name="name">HIDALGO FELIX</field>
4031+ <field name="type">other</field>
4032+ <field eval="False" name="reconcile"/>
4033+ <field name="user_type" ref="account_type_view"/>
4034+ <field name="parent_id" ref="chart_11405"/>
4035+ </record>
4036+ <record id="chart_1140521003" model="account.account.template">
4037+ <field name="code">1140521003</field>
4038+ <field name="name">LAMON ANGEL</field>
4039+ <field name="type">other</field>
4040+ <field eval="False" name="reconcile"/>
4041+ <field name="user_type" ref="account_type_view"/>
4042+ <field name="parent_id" ref="chart_11405"/>
4043+ </record>
4044+ <record id="chart_1140521004" model="account.account.template">
4045+ <field name="code">1140521004</field>
4046+ <field name="name">LOPEZ A.HUMBERTO D.</field>
4047+ <field name="type">other</field>
4048+ <field eval="False" name="reconcile"/>
4049+ <field name="user_type" ref="account_type_view"/>
4050+ <field name="parent_id" ref="chart_11405"/>
4051+ </record>
4052+ <record id="chart_1140522005" model="account.account.template">
4053+ <field name="code">1140522005</field>
4054+ <field name="name">MARTINEZ CARLOS ALBERTO</field>
4055+ <field name="type">other</field>
4056+ <field eval="False" name="reconcile"/>
4057+ <field name="user_type" ref="account_type_view"/>
4058+ <field name="parent_id" ref="chart_11405"/>
4059+ </record>
4060+ <record id="chart_1140522006" model="account.account.template">
4061+ <field name="code">1140522006</field>
4062+ <field name="name">MARQUEZ YOHAN</field>
4063+ <field name="type">other</field>
4064+ <field eval="False" name="reconcile"/>
4065+ <field name="user_type" ref="account_type_view"/>
4066+ <field name="parent_id" ref="chart_11405"/>
4067+ </record>
4068+ <record id="chart_1140528007" model="account.account.template">
4069+ <field name="code">1140528007</field>
4070+ <field name="name">RIVAS JUAN CARLOS</field>
4071+ <field name="type">other</field>
4072+ <field eval="False" name="reconcile"/>
4073+ <field name="user_type" ref="account_type_view"/>
4074+ <field name="parent_id" ref="chart_11405"/>
4075+ </record>
4076+ <record id="chart_1140528008" model="account.account.template">
4077+ <field name="code">1140528008</field>
4078+ <field name="name">RUIZ DANIS</field>
4079+ <field name="type">other</field>
4080+ <field eval="False" name="reconcile"/>
4081+ <field name="user_type" ref="account_type_view"/>
4082+ <field name="parent_id" ref="chart_11405"/>
4083+ </record>
4084+ <record id="chart_1140528009" model="account.account.template">
4085+ <field name="code">1140528009</field>
4086+ <field name="name">RONDON RENE</field>
4087+ <field name="type">other</field>
4088+ <field eval="False" name="reconcile"/>
4089+ <field name="user_type" ref="account_type_view"/>
4090+ <field name="parent_id" ref="chart_11405"/>
4091+ </record>
4092+ <record id="chart_1140528012" model="account.account.template">
4093+ <field name="code">1140528012</field>
4094+ <field name="name">RAMIREZ F. JOHAN</field>
4095+ <field name="type">other</field>
4096+ <field eval="False" name="reconcile"/>
4097+ <field name="user_type" ref="account_type_view"/>
4098+ <field name="parent_id" ref="chart_11405"/>
4099+ </record>
4100+ <record id="chart_1140529006" model="account.account.template">
4101+ <field name="code">1140529006</field>
4102+ <field name="name">SOTO P.MIGUEL A.</field>
4103+ <field name="type">other</field>
4104+ <field eval="False" name="reconcile"/>
4105+ <field name="user_type" ref="account_type_view"/>
4106+ <field name="parent_id" ref="chart_11405"/>
4107+ </record>
4108+ <record id="chart_1140529007" model="account.account.template">
4109+ <field name="code">1140529007</field>
4110+ <field name="name">SOTO O. PEDRO A.</field>
4111+ <field name="type">other</field>
4112+ <field eval="False" name="reconcile"/>
4113+ <field name="user_type" ref="account_type_view"/>
4114+ <field name="parent_id" ref="chart_11405"/>
4115+ </record>
4116+ <record id="chart_1140531005" model="account.account.template">
4117+ <field name="code">1140531005</field>
4118+ <field name="name">URRUTIA ALBERTO</field>
4119+ <field name="type">other</field>
4120+ <field eval="False" name="reconcile"/>
4121+ <field name="user_type" ref="account_type_view"/>
4122+ <field name="parent_id" ref="chart_11405"/>
4123+ </record>
4124+ <record id="chart_1140536005" model="account.account.template">
4125+ <field name="code">1140536005</field>
4126+ <field name="name">ZAMBRANO ANGEL D.</field>
4127+ <field name="type">other</field>
4128+ <field eval="False" name="reconcile"/>
4129+ <field name="user_type" ref="account_type_view"/>
4130+ <field name="parent_id" ref="chart_11405"/>
4131+ </record>
4132+ <record id="chart_1140536006" model="account.account.template">
4133+ <field name="code">1140536006</field>
4134+ <field name="name">CALCURIAN LUIS MANUEL</field>
4135+ <field name="type">other</field>
4136+ <field eval="False" name="reconcile"/>
4137+ <field name="user_type" ref="account_type_view"/>
4138+ <field name="parent_id" ref="chart_11405"/>
4139+ </record>
4140+ <record id="chart_1140536007" model="account.account.template">
4141+ <field name="code">1140536007</field>
4142+ <field name="name">LAMON AROCHA PEDRO JOSE</field>
4143+ <field name="type">other</field>
4144+ <field eval="False" name="reconcile"/>
4145+ <field name="user_type" ref="account_type_view"/>
4146+ <field name="parent_id" ref="chart_11405"/>
4147+ </record>
4148+ <record id="chart_1140536008" model="account.account.template">
4149+ <field name="code">1140536008</field>
4150+ <field name="name">HERNANDEZ DANNY</field>
4151+ <field name="type">other</field>
4152+ <field eval="False" name="reconcile"/>
4153+ <field name="user_type" ref="account_type_view"/>
4154+ <field name="parent_id" ref="chart_11405"/>
4155+ </record>
4156+ <record id="chart_1140536009" model="account.account.template">
4157+ <field name="code">1140536009</field>
4158+ <field name="name">MURO YOHOMAR</field>
4159+ <field name="type">other</field>
4160+ <field eval="False" name="reconcile"/>
4161+ <field name="user_type" ref="account_type_view"/>
4162+ <field name="parent_id" ref="chart_11405"/>
4163+ </record>
4164+ <record id="chart_1140536010" model="account.account.template">
4165+ <field name="code">1140536010</field>
4166+ <field name="name">CASTELLANO LAO J.</field>
4167+ <field name="type">other</field>
4168+ <field eval="False" name="reconcile"/>
4169+ <field name="user_type" ref="account_type_view"/>
4170+ <field name="parent_id" ref="chart_11405"/>
4171+ </record>
4172+ <record id="chart_1140536011" model="account.account.template">
4173+ <field name="code">1140536011</field>
4174+ <field name="name">UGAS ERICK</field>
4175+ <field name="type">other</field>
4176+ <field eval="False" name="reconcile"/>
4177+ <field name="user_type" ref="account_type_view"/>
4178+ <field name="parent_id" ref="chart_11405"/>
4179+ </record>
4180+ <record id="chart_1140536012" model="account.account.template">
4181+ <field name="code">1140536012</field>
4182+ <field name="name">SOTO JOSE LUIS</field>
4183+ <field name="type">other</field>
4184+ <field eval="False" name="reconcile"/>
4185+ <field name="user_type" ref="account_type_view"/>
4186+ <field name="parent_id" ref="chart_11405"/>
4187+ </record>
4188+ <record id="chart_1140536013" model="account.account.template">
4189+ <field name="code">1140536013</field>
4190+ <field name="name">RAMIREZ C. DARRINSON J.</field>
4191+ <field name="type">other</field>
4192+ <field eval="False" name="reconcile"/>
4193+ <field name="user_type" ref="account_type_view"/>
4194+ <field name="parent_id" ref="chart_11405"/>
4195+ </record>
4196+ <record id="chart_1140536014" model="account.account.template">
4197+ <field name="code">1140536014</field>
4198+ <field name="name">RODRIGUEZ GILBERT</field>
4199+ <field name="type">other</field>
4200+ <field eval="False" name="reconcile"/>
4201+ <field name="user_type" ref="account_type_view"/>
4202+ <field name="parent_id" ref="chart_11405"/>
4203+ </record>
4204+ <record id="chart_1140536015" model="account.account.template">
4205+ <field name="code">1140536015</field>
4206+ <field name="name">SUAREZ R. LUIS E.</field>
4207+ <field name="type">other</field>
4208+ <field eval="False" name="reconcile"/>
4209+ <field name="user_type" ref="account_type_view"/>
4210+ <field name="parent_id" ref="chart_11405"/>
4211+ </record>
4212+ <record id="chart_1140536016" model="account.account.template">
4213+ <field name="code">1140536016</field>
4214+ <field name="name">PALMA YSIDRO</field>
4215+ <field name="type">other</field>
4216+ <field eval="False" name="reconcile"/>
4217+ <field name="user_type" ref="account_type_view"/>
4218+ <field name="parent_id" ref="chart_11405"/>
4219+ </record>
4220+ <record id="chart_1140536017" model="account.account.template">
4221+ <field name="code">1140536017</field>
4222+ <field name="name">BRICEÑO TEOFILO</field>
4223+ <field name="type">other</field>
4224+ <field eval="False" name="reconcile"/>
4225+ <field name="user_type" ref="account_type_view"/>
4226+ <field name="parent_id" ref="chart_11405"/>
4227+ </record>
4228+ <record id="chart_1140536018" model="account.account.template">
4229+ <field name="code">1140536018</field>
4230+ <field name="name">SIMOZA LUIS JOSE</field>
4231+ <field name="type">other</field>
4232+ <field eval="False" name="reconcile"/>
4233+ <field name="user_type" ref="account_type_view"/>
4234+ <field name="parent_id" ref="chart_11405"/>
4235+ </record>
4236+ <record id="chart_1140536019" model="account.account.template">
4237+ <field name="code">1140536019</field>
4238+ <field name="name">PEREZ ROJAS JOSE VICENTE</field>
4239+ <field name="type">other</field>
4240+ <field eval="False" name="reconcile"/>
4241+ <field name="user_type" ref="account_type_view"/>
4242+ <field name="parent_id" ref="chart_11405"/>
4243+ </record>
4244+ <record id="chart_1140536020" model="account.account.template">
4245+ <field name="code">1140536020</field>
4246+ <field name="name">DELGADO JUAN</field>
4247+ <field name="type">other</field>
4248+ <field eval="False" name="reconcile"/>
4249+ <field name="user_type" ref="account_type_view"/>
4250+ <field name="parent_id" ref="chart_11405"/>
4251+ </record>
4252+ <record id="chart_1140536021" model="account.account.template">
4253+ <field name="code">1140536021</field>
4254+ <field name="name">RODRIGUEZ CESAR</field>
4255+ <field name="type">other</field>
4256+ <field eval="False" name="reconcile"/>
4257+ <field name="user_type" ref="account_type_view"/>
4258+ <field name="parent_id" ref="chart_11405"/>
4259+ </record>
4260+ <record id="chart_1140536022" model="account.account.template">
4261+ <field name="code">1140536022</field>
4262+ <field name="name">SUNIAGA D. ANGEL</field>
4263+ <field name="type">other</field>
4264+ <field eval="False" name="reconcile"/>
4265+ <field name="user_type" ref="account_type_view"/>
4266+ <field name="parent_id" ref="chart_11405"/>
4267+ </record>
4268+ <record id="chart_1140536023" model="account.account.template">
4269+ <field name="code">1140536023</field>
4270+ <field name="name">FLORES DEIVY</field>
4271+ <field name="type">other</field>
4272+ <field eval="False" name="reconcile"/>
4273+ <field name="user_type" ref="account_type_view"/>
4274+ <field name="parent_id" ref="chart_11405"/>
4275+ </record>
4276+ <record id="chart_1140536024" model="account.account.template">
4277+ <field name="code">1140536024</field>
4278+ <field name="name">RINCON EMERSON</field>
4279+ <field name="type">other</field>
4280+ <field eval="False" name="reconcile"/>
4281+ <field name="user_type" ref="account_type_view"/>
4282+ <field name="parent_id" ref="chart_11405"/>
4283+ </record>
4284+ <record id="chart_1140536025" model="account.account.template">
4285+ <field name="code">1140536025</field>
4286+ <field name="name">DA SILVA MAIA</field>
4287+ <field name="type">other</field>
4288+ <field eval="False" name="reconcile"/>
4289+ <field name="user_type" ref="account_type_view"/>
4290+ <field name="parent_id" ref="chart_11405"/>
4291+ </record>
4292+ <record id="chart_1140536026" model="account.account.template">
4293+ <field name="code">1140536026</field>
4294+ <field name="name">SULBARAN WILLIAM</field>
4295+ <field name="type">other</field>
4296+ <field eval="False" name="reconcile"/>
4297+ <field name="user_type" ref="account_type_view"/>
4298+ <field name="parent_id" ref="chart_11405"/>
4299+ </record>
4300+ <record id="chart_11405360267" model="account.account.template">
4301+ <field name="code">11405360267</field>
4302+ <field name="name">GONZALEZ PEDRO</field>
4303+ <field name="type">view</field>
4304+ <field eval="False" name="reconcile"/>
4305+ <field name="user_type" ref="account_type_view"/>
4306+ </record>
4307+ <record id="chart_11405360268" model="account.account.template">
4308+ <field name="code">11405360268</field>
4309+ <field name="name">OSORIO JOSUE</field>
4310+ <field name="type">view</field>
4311+ <field eval="False" name="reconcile"/>
4312+ <field name="user_type" ref="account_type_view"/>
4313+ </record>
4314+ <record id="chart_1140599999" model="account.account.template">
4315+ <field name="code">1140599999</field>
4316+ <field name="name">CUENTAS X COBRAR EMP.Y OBREROS</field>
4317+ <field name="type">other</field>
4318+ <field eval="False" name="reconcile"/>
4319+ <field name="user_type" ref="account_type_view"/>
4320+ <field name="parent_id" ref="chart_11405"/>
4321+ </record>
4322+ <record id="chart_11406" model="account.account.template">
4323+ <field name="code">11406</field>
4324+ <field name="name">CUETAS POR COBRAR ADE.UTILID.</field>
4325+ <field name="type">view</field>
4326+ <field eval="False" name="reconcile"/>
4327+ <field name="user_type" ref="account_type_view"/>
4328+ <field name="parent_id" ref="chart_114"/>
4329+ </record>
4330+ <record id="chart_11409" model="account.account.template">
4331+ <field name="code">11409</field>
4332+ <field name="name">OTRAS CUENTAS POR COBRAR</field>
4333+ <field name="type">view</field>
4334+ <field eval="False" name="reconcile"/>
4335+ <field name="user_type" ref="account_type_view"/>
4336+ <field name="parent_id" ref="chart_114"/>
4337+ </record>
4338+ <record id="chart_1140913032" model="account.account.template">
4339+ <field name="code">1140913032</field>
4340+ <field name="name">CONSORCIO GRANITERO DEL ORINOCO</field>
4341+ <field name="type">other</field>
4342+ <field eval="False" name="reconcile"/>
4343+ <field name="user_type" ref="account_type_view"/>
4344+ <field name="parent_id" ref="chart_11409"/>
4345+ </record>
4346+ <record id="chart_1140922018" model="account.account.template">
4347+ <field name="code">1140922018</field>
4348+ <field name="name">MARMOLERIA EL ARTE</field>
4349+ <field name="type">other</field>
4350+ <field eval="False" name="reconcile"/>
4351+ <field name="user_type" ref="account_type_view"/>
4352+ <field name="parent_id" ref="chart_11409"/>
4353+ </record>
4354+ <record id="chart_1140930015" model="account.account.template">
4355+ <field name="code">1140930015</field>
4356+ <field name="name">TRANSPORTE TRAVELER</field>
4357+ <field name="type">other</field>
4358+ <field eval="False" name="reconcile"/>
4359+ <field name="user_type" ref="account_type_view"/>
4360+ <field name="parent_id" ref="chart_11409"/>
4361+ </record>
4362+ <record id="chart_1140999999" model="account.account.template">
4363+ <field name="code">1140999999</field>
4364+ <field name="name">CUENTAS POR COBRAR VARIAS</field>
4365+ <field name="type">other</field>
4366+ <field eval="False" name="reconcile"/>
4367+ <field name="user_type" ref="account_type_view"/>
4368+ <field name="parent_id" ref="chart_11409"/>
4369+ </record>
4370+ <record id="chart_115" model="account.account.template">
4371+ <field name="code">115</field>
4372+ <field name="name">INVENTARIOS</field>
4373+ <field name="type">view</field>
4374+ <field eval="False" name="reconcile"/>
4375+ <field name="user_type" ref="account_type_view"/>
4376+ <field name="parent_id" ref="chart_11"/>
4377+ </record>
4378+ <record id="chart_11501" model="account.account.template">
4379+ <field name="code">11501</field>
4380+ <field name="name">INVENTARIOS INICIALES</field>
4381+ <field name="type">view</field>
4382+ <field eval="False" name="reconcile"/>
4383+ <field name="user_type" ref="account_type_view"/>
4384+ <field name="parent_id" ref="chart_115"/>
4385+ </record>
4386+ <record id="chart_1150101501" model="account.account.template">
4387+ <field name="code">1150101501</field>
4388+ <field name="name">INVENTARIO MATERIA PRIMA</field>
4389+ <field name="type">other</field>
4390+ <field eval="False" name="reconcile"/>
4391+ <field name="user_type" ref="account_type_view"/>
4392+ <field name="parent_id" ref="chart_11501"/>
4393+ </record>
4394+ <record id="chart_1150101502" model="account.account.template">
4395+ <field name="code">1150101502</field>
4396+ <field name="name">INVENTARIO MERCANCIA COMERCIALIZACION</field>
4397+ <field name="type">other</field>
4398+ <field eval="False" name="reconcile"/>
4399+ <field name="user_type" ref="account_type_view"/>
4400+ <field name="parent_id" ref="chart_11501"/>
4401+ </record>
4402+ <record id="chart_1150101503" model="account.account.template">
4403+ <field name="code">1150101503</field>
4404+ <field name="name">INVENTARIO PRODUCTOS TERMINADOS</field>
4405+ <field name="type">other</field>
4406+ <field eval="False" name="reconcile"/>
4407+ <field name="user_type" ref="account_type_view"/>
4408+ <field name="parent_id" ref="chart_11501"/>
4409+ </record>
4410+ <record id="chart_11502" model="account.account.template">
4411+ <field name="code">11502</field>
4412+ <field name="name">COMPRAS IMPORTADAS</field>
4413+ <field name="type">view</field>
4414+ <field eval="False" name="reconcile"/>
4415+ <field name="user_type" ref="account_type_view"/>
4416+ <field name="parent_id" ref="chart_115"/>
4417+ </record>
4418+ <record id="chart_1150201501" model="account.account.template">
4419+ <field name="code">1150201501</field>
4420+ <field name="name">IMPORTACION MATERIAS PRIMAS</field>
4421+ <field name="type">other</field>
4422+ <field eval="False" name="reconcile"/>
4423+ <field name="user_type" ref="account_type_view"/>
4424+ <field name="parent_id" ref="chart_11502"/>
4425+ </record>
4426+ <record id="chart_1150201502" model="account.account.template">
4427+ <field name="code">1150201502</field>
4428+ <field name="name">IMPORTACION PROD.COMERCIALIZACION</field>
4429+ <field name="type">other</field>
4430+ <field eval="False" name="reconcile"/>
4431+ <field name="user_type" ref="account_type_view"/>
4432+ <field name="parent_id" ref="chart_11502"/>
4433+ </record>
4434+ <record id="chart_11503" model="account.account.template">
4435+ <field name="code">11503</field>
4436+ <field name="name">INVENTARIO DE PRODUCTOS TERMINADOS DE TRANSFORMACION</field>
4437+ <field name="type">view</field>
4438+ <field eval="False" name="reconcile"/>
4439+ <field name="user_type" ref="account_type_view"/>
4440+ <field name="parent_id" ref="chart_115"/>
4441+ </record>
4442+ <record id="chart_11504" model="account.account.template">
4443+ <field name="code">11504</field>
4444+ <field name="name">INVENTARIO PRODUCTOS COMPRADO PARA REVENDER</field>
4445+ <field name="type">view</field>
4446+ <field eval="False" name="reconcile"/>
4447+ <field name="user_type" ref="account_type_view"/>
4448+ <field name="parent_id" ref="chart_115"/>
4449+ </record>
4450+ <record id="chart_11505" model="account.account.template">
4451+ <field name="code">11505</field>
4452+ <field name="name">COMPRAS MERCANCIA TRANSFORMACION</field>
4453+ <field name="type">view</field>
4454+ <field eval="False" name="reconcile"/>
4455+ <field name="user_type" ref="account_type_view"/>
4456+ <field name="parent_id" ref="chart_115"/>
4457+ </record>
4458+ <record id="chart_11506" model="account.account.template">
4459+ <field name="code">11506</field>
4460+ <field name="name">COMPRAS MERCANCIA COMERCIALIZACION</field>
4461+ <field name="type">view</field>
4462+ <field eval="False" name="reconcile"/>
4463+ <field name="user_type" ref="account_type_view"/>
4464+ <field name="parent_id" ref="chart_115"/>
4465+ </record>
4466+ <record id="chart_11507" model="account.account.template">
4467+ <field name="code">11507</field>
4468+ <field name="name">COMPRAS DE CUCHILLAS</field>
4469+ <field name="type">view</field>
4470+ <field eval="False" name="reconcile"/>
4471+ <field name="user_type" ref="account_type_view"/>
4472+ <field name="parent_id" ref="chart_115"/>
4473+ </record>
4474+ <record id="chart_11508" model="account.account.template">
4475+ <field name="code">11508</field>
4476+ <field name="name">COMPRAS DE GRANALLAS</field>
4477+ <field name="type">view</field>
4478+ <field eval="False" name="reconcile"/>
4479+ <field name="user_type" ref="account_type_view"/>
4480+ <field name="parent_id" ref="chart_115"/>
4481+ </record>
4482+ <record id="chart_11509" model="account.account.template">
4483+ <field name="code">11509</field>
4484+ <field name="name">COMPRAS ABRASIVOS Y ACIDOS</field>
4485+ <field name="type">view</field>
4486+ <field eval="False" name="reconcile"/>
4487+ <field name="user_type" ref="account_type_view"/>
4488+ <field name="parent_id" ref="chart_115"/>
4489+ </record>
4490+ <record id="chart_11510" model="account.account.template">
4491+ <field name="code">11510</field>
4492+ <field name="name">COMPRAS DISCOS</field>
4493+ <field name="type">view</field>
4494+ <field eval="False" name="reconcile"/>
4495+ <field name="user_type" ref="account_type_view"/>
4496+ <field name="parent_id" ref="chart_115"/>
4497+ </record>
4498+ <record id="chart_11511" model="account.account.template">
4499+ <field name="code">11511</field>
4500+ <field name="name">COMPRAS VARIAS</field>
4501+ <field name="type">view</field>
4502+ <field eval="False" name="reconcile"/>
4503+ <field name="user_type" ref="account_type_view"/>
4504+ <field name="parent_id" ref="chart_115"/>
4505+ </record>
4506+ <record id="chart_11512" model="account.account.template">
4507+ <field name="code">11512</field>
4508+ <field name="name">GTOS.COMPRAS MERCANCIA TRANSFORMACION</field>
4509+ <field name="type">view</field>
4510+ <field eval="False" name="reconcile"/>
4511+ <field name="user_type" ref="account_type_view"/>
4512+ <field name="parent_id" ref="chart_115"/>
4513+ </record>
4514+ <record id="chart_11513" model="account.account.template">
4515+ <field name="code">11513</field>
4516+ <field name="name">GTOS.COMPRAS MERCANCIA COMERCIALIZACION</field>
4517+ <field name="type">view</field>
4518+ <field eval="False" name="reconcile"/>
4519+ <field name="user_type" ref="account_type_view"/>
4520+ <field name="parent_id" ref="chart_115"/>
4521+ </record>
4522+ <record id="chart_11514" model="account.account.template">
4523+ <field name="code">11514</field>
4524+ <field name="name">GASTOS EN COMPRAS DE CUCHILLAS</field>
4525+ <field name="type">view</field>
4526+ <field eval="False" name="reconcile"/>
4527+ <field name="user_type" ref="account_type_view"/>
4528+ <field name="parent_id" ref="chart_115"/>
4529+ </record>
4530+ <record id="chart_11515" model="account.account.template">
4531+ <field name="code">11515</field>
4532+ <field name="name">GASTOS EN COMPRAS DE GRANALLAS</field>
4533+ <field name="type">view</field>
4534+ <field eval="False" name="reconcile"/>
4535+ <field name="user_type" ref="account_type_view"/>
4536+ <field name="parent_id" ref="chart_115"/>
4537+ </record>
4538+ <record id="chart_11516" model="account.account.template">
4539+ <field name="code">11516</field>
4540+ <field name="name">GASTOS EN COMPRAS ABRASIVOS Y ACIDOS</field>
4541+ <field name="type">view</field>
4542+ <field eval="False" name="reconcile"/>
4543+ <field name="user_type" ref="account_type_view"/>
4544+ <field name="parent_id" ref="chart_115"/>
4545+ </record>
4546+ <record id="chart_11517" model="account.account.template">
4547+ <field name="code">11517</field>
4548+ <field name="name">GASTOS EN COMPRAS DE DISCOS</field>
4549+ <field name="type">view</field>
4550+ <field eval="False" name="reconcile"/>
4551+ <field name="user_type" ref="account_type_view"/>
4552+ <field name="parent_id" ref="chart_115"/>
4553+ </record>
4554+ <record id="chart_11518" model="account.account.template">
4555+ <field name="code">11518</field>
4556+ <field name="name">REBAJAS Y DEVOLUCIONES EN COMPRAS TRANSFORMACION</field>
4557+ <field name="type">view</field>
4558+ <field eval="False" name="reconcile"/>
4559+ <field name="user_type" ref="account_type_view"/>
4560+ <field name="parent_id" ref="chart_115"/>
4561+ </record>
4562+ <record id="chart_11519" model="account.account.template">
4563+ <field name="code">11519</field>
4564+ <field name="name">REBAJAS Y DEVOLUCIONES EN COMPRAS COMERCIALIZACIONES</field>
4565+ <field name="type">view</field>
4566+ <field eval="False" name="reconcile"/>
4567+ <field name="user_type" ref="account_type_view"/>
4568+ <field name="parent_id" ref="chart_115"/>
4569+ </record>
4570+ <record id="chart_11520" model="account.account.template">
4571+ <field name="code">11520</field>
4572+ <field name="name">COMPRAS DE FLOCCULANTE</field>
4573+ <field name="type">view</field>
4574+ <field eval="False" name="reconcile"/>
4575+ <field name="user_type" ref="account_type_view"/>
4576+ <field name="parent_id" ref="chart_115"/>
4577+ </record>
4578+ <record id="chart_11521" model="account.account.template">
4579+ <field name="code">11521</field>
4580+ <field name="name">COMPRA DE CEMENTO EXPANSIVO</field>
4581+ <field name="type">view</field>
4582+ <field eval="False" name="reconcile"/>
4583+ <field name="user_type" ref="account_type_view"/>
4584+ <field name="parent_id" ref="chart_115"/>
4585+ </record>
4586+ <record id="chart_11522" model="account.account.template">
4587+ <field name="code">11522</field>
4588+ <field name="name">COMPRA DE BARRENOS</field>
4589+ <field name="type">view</field>
4590+ <field eval="False" name="reconcile"/>
4591+ <field name="user_type" ref="account_type_view"/>
4592+ <field name="parent_id" ref="chart_115"/>
4593+ </record>
4594+ <record id="chart_11523" model="account.account.template">
4595+ <field name="code">11523</field>
4596+ <field name="name">COMPRA DE HILO DIAMANTADO</field>
4597+ <field name="type">view</field>
4598+ <field eval="False" name="reconcile"/>
4599+ <field name="user_type" ref="account_type_view"/>
4600+ <field name="parent_id" ref="chart_115"/>
4601+ </record>
4602+ <record id="chart_11524" model="account.account.template">
4603+ <field name="code">11524</field>
4604+ <field name="name">COMPRA DE REPUESTOS VARIOS</field>
4605+ <field name="type">view</field>
4606+ <field eval="False" name="reconcile"/>
4607+ <field name="user_type" ref="account_type_view"/>
4608+ <field name="parent_id" ref="chart_115"/>
4609+ </record>
4610+ <record id="chart_11525" model="account.account.template">
4611+ <field name="code">11525</field>
4612+ <field name="name">COMPRA DE RESINAS</field>
4613+ <field name="type">view</field>
4614+ <field eval="False" name="reconcile"/>
4615+ <field name="user_type" ref="account_type_view"/>
4616+ <field name="parent_id" ref="chart_115"/>
4617+ </record>
4618+ <record id="chart_116" model="account.account.template">
4619+ <field name="code">116</field>
4620+ <field name="name">OTROS ACTIVOS CIRCULANTES</field>
4621+ <field name="type">view</field>
4622+ <field eval="False" name="reconcile"/>
4623+ <field name="user_type" ref="account_type_view"/>
4624+ <field name="parent_id" ref="chart_11"/>
4625+ </record>
4626+ <record id="chart_11601" model="account.account.template">
4627+ <field name="code">11601</field>
4628+ <field name="name">GASTOS PAGADOS POR ANTICIPADO</field>
4629+ <field name="type">view</field>
4630+ <field eval="False" name="reconcile"/>
4631+ <field name="user_type" ref="account_type_view"/>
4632+ <field name="parent_id" ref="chart_116"/>
4633+ </record>
4634+ <record id="chart_1160151601" model="account.account.template">
4635+ <field name="code">1160151601</field>
4636+ <field name="name">I.S.L.R. PRE-PAGADO</field>
4637+ <field name="type">other</field>
4638+ <field eval="False" name="reconcile"/>
4639+ <field name="user_type" ref="account_type_view"/>
4640+ <field name="parent_id" ref="chart_11601"/>
4641+ </record>
4642+ <record id="chart_1160151602" model="account.account.template">
4643+ <field name="code">1160151602</field>
4644+ <field name="name">I.V.S.S. PRE-PAGADO</field>
4645+ <field name="type">other</field>
4646+ <field eval="False" name="reconcile"/>
4647+ <field name="user_type" ref="account_type_view"/>
4648+ <field name="parent_id" ref="chart_11601"/>
4649+ </record>
4650+ <record id="chart_1160151603" model="account.account.template">
4651+ <field name="code">1160151603</field>
4652+ <field name="name">L.P.H. PRE-PAGADO</field>
4653+ <field name="type">other</field>
4654+ <field eval="False" name="reconcile"/>
4655+ <field name="user_type" ref="account_type_view"/>
4656+ <field name="parent_id" ref="chart_11601"/>
4657+ </record>
4658+ <record id="chart_1160151604" model="account.account.template">
4659+ <field name="code">1160151604</field>
4660+ <field name="name">PUBLICIDAD PRE-PAGADA</field>
4661+ <field name="type">other</field>
4662+ <field eval="False" name="reconcile"/>
4663+ <field name="user_type" ref="account_type_view"/>
4664+ <field name="parent_id" ref="chart_11601"/>
4665+ </record>
4666+ <record id="chart_1160151610" model="account.account.template">
4667+ <field name="code">1160151610</field>
4668+ <field name="name">SUELDOS PAGADOS POR ANTICIPADOS</field>
4669+ <field name="type">other</field>
4670+ <field eval="False" name="reconcile"/>
4671+ <field name="user_type" ref="account_type_view"/>
4672+ <field name="parent_id" ref="chart_11601"/>
4673+ </record>
4674+ <record id="chart_1160151611" model="account.account.template">
4675+ <field name="code">1160151611</field>
4676+ <field name="name">SALARIOS PAGADOS POR ANTICIPADOS</field>
4677+ <field name="type">other</field>
4678+ <field eval="False" name="reconcile"/>
4679+ <field name="user_type" ref="account_type_view"/>
4680+ <field name="parent_id" ref="chart_11601"/>
4681+ </record>
4682+ <record id="chart_1160151612" model="account.account.template">
4683+ <field name="code">1160151612</field>
4684+ <field name="name">I.V.A. PRE-PAGADO</field>
4685+ <field name="type">other</field>
4686+ <field eval="False" name="reconcile"/>
4687+ <field name="user_type" ref="account_type_view"/>
4688+ <field name="parent_id" ref="chart_11601"/>
4689+ </record>
4690+ <record id="chart_1160151613" model="account.account.template">
4691+ <field name="code">1160151613</field>
4692+ <field name="name">I.V.A. PRE-PAGADO IMPORTACIONES</field>
4693+ <field name="type">other</field>
4694+ <field eval="False" name="reconcile"/>
4695+ <field name="user_type" ref="account_type_view"/>
4696+ <field name="parent_id" ref="chart_11601"/>
4697+ </record>
4698+ <record id="chart_1160151614" model="account.account.template">
4699+ <field name="code">1160151614</field>
4700+ <field name="name">I.V.A. RETENIDO POR CLIENTES</field>
4701+ <field name="type">other</field>
4702+ <field eval="False" name="reconcile"/>
4703+ <field name="user_type" ref="account_type_view"/>
4704+ <field name="parent_id" ref="chart_11601"/>
4705+ </record>
4706+ <record id="chart_1160151620" model="account.account.template">
4707+ <field name="code">1160151620</field>
4708+ <field name="name">SEGURO PREPAGADO</field>
4709+ <field name="type">other</field>
4710+ <field eval="False" name="reconcile"/>
4711+ <field name="user_type" ref="account_type_view"/>
4712+ <field name="parent_id" ref="chart_11601"/>
4713+ </record>
4714+ <record id="chart_11602" model="account.account.template">
4715+ <field name="code">11602</field>
4716+ <field name="name">RETENCIONES SOPORTADAS ( CLIENTES )</field>
4717+ <field name="type">view</field>
4718+ <field eval="False" name="reconcile"/>
4719+ <field name="user_type" ref="account_type_view"/>
4720+ <field name="parent_id" ref="chart_116"/>
4721+ </record>
4722+ <record id="chart_1160251606" model="account.account.template">
4723+ <field name="code">1160251606</field>
4724+ <field name="name">RETENCIONES FIEL CUMPLIMIENTO</field>
4725+ <field name="type">other</field>
4726+ <field eval="False" name="reconcile"/>
4727+ <field name="user_type" ref="account_type_view"/>
4728+ <field name="parent_id" ref="chart_11602"/>
4729+ </record>
4730+ <record id="chart_1160251607" model="account.account.template">
4731+ <field name="code">1160251607</field>
4732+ <field name="name">RETENCIONES LABORALES</field>
4733+ <field name="type">other</field>
4734+ <field eval="False" name="reconcile"/>
4735+ <field name="user_type" ref="account_type_view"/>
4736+ <field name="parent_id" ref="chart_11602"/>
4737+ </record>
4738+ <record id="chart_11620" model="account.account.template">
4739+ <field name="code">11620</field>
4740+ <field name="name">ANTICIPOS A PROVEEDORES</field>
4741+ <field name="type">view</field>
4742+ <field eval="False" name="reconcile"/>
4743+ <field name="user_type" ref="account_type_view"/>
4744+ <field name="parent_id" ref="chart_116"/>
4745+ </record>
4746+ <record id="chart_11621" model="account.account.template">
4747+ <field name="code">11621</field>
4748+ <field name="name">ANTICIPOS A PROVEEDORES DEL EXTERIOR</field>
4749+ <field name="type">view</field>
4750+ <field eval="False" name="reconcile"/>
4751+ <field name="user_type" ref="account_type_view"/>
4752+ <field name="parent_id" ref="chart_116"/>
4753+ </record>
4754+ <record id="chart_11622" model="account.account.template">
4755+ <field name="code">11622</field>
4756+ <field name="name">ANTIC.TRANSPORTE MULTIMODAL,C.A.</field>
4757+ <field name="type">view</field>
4758+ <field eval="False" name="reconcile"/>
4759+ <field name="user_type" ref="account_type_view"/>
4760+ <field name="parent_id" ref="chart_116"/>
4761+ </record>
4762+ <record id="chart_12" model="account.account.template">
4763+ <field name="code">12</field>
4764+ <field name="name">INVERSIONES</field>
4765+ <field name="type">view</field>
4766+ <field eval="False" name="reconcile"/>
4767+ <field name="user_type" ref="account_type_view"/>
4768+ <field name="parent_id" ref="chart_1"/>
4769+ </record>
4770+ <record id="chart_121" model="account.account.template">
4771+ <field name="code">121</field>
4772+ <field name="name">INVERSIONES FINANCIERAS</field>
4773+ <field name="type">view</field>
4774+ <field eval="False" name="reconcile"/>
4775+ <field name="user_type" ref="account_type_view"/>
4776+ <field name="parent_id" ref="chart_12"/>
4777+ </record>
4778+ <record id="chart_12103" model="account.account.template">
4779+ <field name="code">12103</field>
4780+ <field name="name">TRANSACCIONES CON TITULOS DPN.</field>
4781+ <field name="type">view</field>
4782+ <field eval="False" name="reconcile"/>
4783+ <field name="user_type" ref="account_type_view"/>
4784+ <field name="parent_id" ref="chart_121"/>
4785+ </record>
4786+ <record id="chart_12110" model="account.account.template">
4787+ <field name="code">12110</field>
4788+ <field name="name">INVERSIONES EN ACCIONES</field>
4789+ <field name="type">view</field>
4790+ <field eval="False" name="reconcile"/>
4791+ <field name="user_type" ref="account_type_view"/>
4792+ <field name="parent_id" ref="chart_121"/>
4793+ </record>
4794+ <record id="chart_12111" model="account.account.template">
4795+ <field name="code">12111</field>
4796+ <field name="name">TITULOS DEUDA PUBLICA NACIONAL</field>
4797+ <field name="type">view</field>
4798+ <field eval="False" name="reconcile"/>
4799+ <field name="user_type" ref="account_type_view"/>
4800+ <field name="parent_id" ref="chart_121"/>
4801+ </record>
4802+ <record id="chart_12112" model="account.account.template">
4803+ <field name="code">12112</field>
4804+ <field name="name">TITULOS VALORES</field>
4805+ <field name="type">view</field>
4806+ <field eval="False" name="reconcile"/>
4807+ <field name="user_type" ref="account_type_view"/>
4808+ <field name="parent_id" ref="chart_121"/>
4809+ </record>
4810+ <record id="chart_12115" model="account.account.template">
4811+ <field name="code">12115</field>
4812+ <field name="name">CERTIFICADOS ESPECIALES DE REINTEGRO TRIBUTARIO</field>
4813+ <field name="type">view</field>
4814+ <field eval="False" name="reconcile"/>
4815+ <field name="user_type" ref="account_type_view"/>
4816+ <field name="parent_id" ref="chart_121"/>
4817+ </record>
4818+ <record id="chart_12190" model="account.account.template">
4819+ <field name="code">12190</field>
4820+ <field name="name">INVERSIONES VARIAS</field>
4821+ <field name="type">view</field>
4822+ <field eval="False" name="reconcile"/>
4823+ <field name="user_type" ref="account_type_view"/>
4824+ <field name="parent_id" ref="chart_121"/>
4825+ </record>
4826+ <record id="chart_122" model="account.account.template">
4827+ <field name="code">122</field>
4828+ <field name="name">INVERSIONES EN EMPRESAS RELACIONADAS</field>
4829+ <field name="type">view</field>
4830+ <field eval="False" name="reconcile"/>
4831+ <field name="user_type" ref="account_type_view"/>
4832+ <field name="parent_id" ref="chart_12"/>
4833+ </record>
4834+ <record id="chart_12201" model="account.account.template">
4835+ <field name="code">12201</field>
4836+ <field name="name">INVERS.EN DISTRIB.ACROP.BARQUISIMETO, C.A</field>
4837+ <field name="type">view</field>
4838+ <field eval="False" name="reconcile"/>
4839+ <field name="user_type" ref="account_type_view"/>
4840+ <field name="parent_id" ref="chart_122"/>
4841+ </record>
4842+ <record id="chart_12202" model="account.account.template">
4843+ <field name="code">12202</field>
4844+ <field name="name">INVERS.EN DISTRIB.ACROP.FALCON, C.A</field>
4845+ <field name="type">view</field>
4846+ <field eval="False" name="reconcile"/>
4847+ <field name="user_type" ref="account_type_view"/>
4848+ <field name="parent_id" ref="chart_122"/>
4849+ </record>
4850+ <record id="chart_12203" model="account.account.template">
4851+ <field name="code">12203</field>
4852+ <field name="name">INVERS.EN REVESTIMIENTOS DACROPOLIS, C.A</field>
4853+ <field name="type">view</field>
4854+ <field eval="False" name="reconcile"/>
4855+ <field name="user_type" ref="account_type_view"/>
4856+ <field name="parent_id" ref="chart_122"/>
4857+ </record>
4858+ <record id="chart_13" model="account.account.template">
4859+ <field name="code">13</field>
4860+ <field name="name">ACTIVO FIJO</field>
4861+ <field name="type">view</field>
4862+ <field eval="False" name="reconcile"/>
4863+ <field name="user_type" ref="account_type_view"/>
4864+ <field name="parent_id" ref="chart_1"/>
4865+ </record>
4866+ <record id="chart_131" model="account.account.template">
4867+ <field name="code">131</field>
4868+ <field name="name">ACTIVO FIJO NO DEPRECIABLE</field>
4869+ <field name="type">view</field>
4870+ <field eval="False" name="reconcile"/>
4871+ <field name="user_type" ref="account_type_view"/>
4872+ <field name="parent_id" ref="chart_13"/>
4873+ </record>
4874+ <record id="chart_13101" model="account.account.template">
4875+ <field name="code">13101</field>
4876+ <field name="name">TERRENOS</field>
4877+ <field name="type">view</field>
4878+ <field eval="False" name="reconcile"/>
4879+ <field name="user_type" ref="account_type_view"/>
4880+ <field name="parent_id" ref="chart_131"/>
4881+ </record>
4882+ <record id="chart_13102" model="account.account.template">
4883+ <field name="code">13102</field>
4884+ <field name="name">EDIFICIOS Y CONSTRUCCION EN PROCESO</field>
4885+ <field name="type">view</field>
4886+ <field eval="False" name="reconcile"/>
4887+ <field name="user_type" ref="account_type_view"/>
4888+ <field name="parent_id" ref="chart_131"/>
4889+ </record>
4890+ <record id="chart_13103" model="account.account.template">
4891+ <field name="code">13103</field>
4892+ <field name="name">GALPON EN CONSTRUCCION</field>
4893+ <field name="type">view</field>
4894+ <field eval="False" name="reconcile"/>
4895+ <field name="user_type" ref="account_type_view"/>
4896+ <field name="parent_id" ref="chart_131"/>
4897+ </record>
4898+ <record id="chart_13104" model="account.account.template">
4899+ <field name="code">13104</field>
4900+ <field name="name">TELAR EN CONSTRUCCION</field>
4901+ <field name="type">view</field>
4902+ <field eval="False" name="reconcile"/>
4903+ <field name="user_type" ref="account_type_view"/>
4904+ <field name="parent_id" ref="chart_131"/>
4905+ </record>
4906+ <record id="chart_13105" model="account.account.template">
4907+ <field name="code">13105</field>
4908+ <field name="name">GRUA EN PROCESO DE INSTALACION</field>
4909+ <field name="type">view</field>
4910+ <field eval="False" name="reconcile"/>
4911+ <field name="user_type" ref="account_type_view"/>
4912+ <field name="parent_id" ref="chart_131"/>
4913+ </record>
4914+ <record id="chart_13106" model="account.account.template">
4915+ <field name="code">13106</field>
4916+ <field name="name">MAQUINARIAS EN PROCESO DE INSTALACION</field>
4917+ <field name="type">view</field>
4918+ <field eval="False" name="reconcile"/>
4919+ <field name="user_type" ref="account_type_view"/>
4920+ <field name="parent_id" ref="chart_131"/>
4921+ </record>
4922+ <record id="chart_13107" model="account.account.template">
4923+ <field name="code">13107</field>
4924+ <field name="name">MAQUINA RESINADORA EN PROCESO DE INSTALACION</field>
4925+ <field name="type">view</field>
4926+ <field eval="False" name="reconcile"/>
4927+ <field name="user_type" ref="account_type_view"/>
4928+ <field name="parent_id" ref="chart_131"/>
4929+ </record>
4930+ <record id="chart_132" model="account.account.template">
4931+ <field name="code">132</field>
4932+ <field name="name">ACTIVO FIJO DEPRBLE/AMORT.</field>
4933+ <field name="type">view</field>
4934+ <field eval="False" name="reconcile"/>
4935+ <field name="user_type" ref="account_type_view"/>
4936+ <field name="parent_id" ref="chart_13"/>
4937+ </record>
4938+ <record id="chart_13202" model="account.account.template">
4939+ <field name="code">13202</field>
4940+ <field name="name">EDIFICIOS</field>
4941+ <field name="type">view</field>
4942+ <field eval="False" name="reconcile"/>
4943+ <field name="user_type" ref="account_type_view"/>
4944+ <field name="parent_id" ref="chart_132"/>
4945+ </record>
4946+ <record id="chart_13203" model="account.account.template">
4947+ <field name="code">13203</field>
4948+ <field name="name">MAQUINARIAS Y EQUIPOS DE FABRICACION</field>
4949+ <field name="type">view</field>
4950+ <field eval="False" name="reconcile"/>
4951+ <field name="user_type" ref="account_type_view"/>
4952+ <field name="parent_id" ref="chart_132"/>
4953+ </record>
4954+ <record id="chart_13204" model="account.account.template">
4955+ <field name="code">13204</field>
4956+ <field name="name">INSTALACIONES Y MEJORAS EN PROPIEDAD</field>
4957+ <field name="type">view</field>
4958+ <field eval="False" name="reconcile"/>
4959+ <field name="user_type" ref="account_type_view"/>
4960+ <field name="parent_id" ref="chart_132"/>
4961+ </record>
4962+ <record id="chart_13205" model="account.account.template">
4963+ <field name="code">13205</field>
4964+ <field name="name">VEHICULOS</field>
4965+ <field name="type">view</field>
4966+ <field eval="False" name="reconcile"/>
4967+ <field name="user_type" ref="account_type_view"/>
4968+ <field name="parent_id" ref="chart_132"/>
4969+ </record>
4970+ <record id="chart_13206" model="account.account.template">
4971+ <field name="code">13206</field>
4972+ <field name="name">MOBILIARIO Y EQUIPOS DE OFICINAS</field>
4973+ <field name="type">view</field>
4974+ <field eval="False" name="reconcile"/>
4975+ <field name="user_type" ref="account_type_view"/>
4976+ <field name="parent_id" ref="chart_132"/>
4977+ </record>
4978+ <record id="chart_13207" model="account.account.template">
4979+ <field name="code">13207</field>
4980+ <field name="name">UTILES-HERRAMIENTAS</field>
4981+ <field name="type">view</field>
4982+ <field eval="False" name="reconcile"/>
4983+ <field name="user_type" ref="account_type_view"/>
4984+ <field name="parent_id" ref="chart_132"/>
4985+ </record>
4986+ <record id="chart_13208" model="account.account.template">
4987+ <field name="code">13208</field>
4988+ <field name="name">CANTERA MACUSPA</field>
4989+ <field name="type">view</field>
4990+ <field eval="False" name="reconcile"/>
4991+ <field name="user_type" ref="account_type_view"/>
4992+ <field name="parent_id" ref="chart_132"/>
4993+ </record>
4994+ <record id="chart_13209" model="account.account.template">
4995+ <field name="code">13209</field>
4996+ <field name="name">CANTERA LA LEONA</field>
4997+ <field name="type">view</field>
4998+ <field eval="False" name="reconcile"/>
4999+ <field name="user_type" ref="account_type_view"/>
5000+ <field name="parent_id" ref="chart_132"/>
The diff has been truncated for viewing.