Merge lp:~vauxoo/openerp-venezuela-localization/jose-tecvemar-wizard-split-in-lot into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk

Status: Rejected
Rejected by: hbto [Vauxoo] http://www.vauxoo.com
Proposed branch: lp:~vauxoo/openerp-venezuela-localization/jose-tecvemar-wizard-split-in-lot
Merge into: lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
Diff against target: 45163 lines (+44623/-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 (+115/-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 (+383/-0)
extra_UOM/wizard/stock_move_split_view.xml (+90/-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-tecvemar-wizard-split-in-lot
Reviewer Review Type Date Requested Status
hbto [Vauxoo] http://www.vauxoo.com Disapprove
Review via email: mp+82444@code.launchpad.net

Description of the change

Added metohd for compute of total quantity and number of operations

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

[ADD]Added field for inform the quantity available for the momemt of doing split

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) :
review: Disapprove

Unmerged revisions

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

[IMP] changed decimal presition in the compute of the wizard split in lot

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

[IMP] changed data demo for show the names of the tile format load automacally

changed the digit presisino for quantity in the models sale, purchase and account invoice

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

[IMP] Changed the def split

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

[ADD] added variable mov_ids for give the id the stock move

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

[ADD]Added field for inform the quantity available for the momemt of doing split

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

[ADD] Added metohd for compute of total quantity and number of operations

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

[IMP] Changed the method on_change_qty in the sale order

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

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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +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-16 19:10:24 +0000
1585@@ -0,0 +1,115 @@
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,pieces_qty,context=None):
1641+ if not context:
1642+ context = {}
1643+ res = {'value': {}}
1644+
1645+ product_uom_obj = self.pool.get('product.uom')
1646+ if id_lot and product_id:
1647+ spl_obj = self.pool.get('stock.production.lot')
1648+ product_obj = self.pool.get('product.product')
1649+ spl_brw = spl_obj.browse(cr,uid,id_lot)
1650+ product_brw = product_obj.browse(cr,uid,product_id)
1651+ area = product_uom_obj._compute_area(cr, uid,ids, product_brw.stock_driver, pieces_qty, spl_brw.length, spl_brw.heigth, spl_brw.width)
1652+ if product_brw.stock_driver == 'block':
1653+ res['value'].update({'pieces':1})
1654+
1655+ res['value'].update({'product_uom_qty':area})
1656+ return res
1657+
1658+ def on_change_piece(self,cr,uid,ids,product_id,id_lot,context=None):
1659+ if not context:
1660+ context = {}
1661+ stock_obj = self.pool.get('stock.production.lot')
1662+ if id_lot and product_id:
1663+ lot_brw = stock_obj.browse(cr,uid,id_lot)
1664+
1665+ return lot_brw.lot_factor and int(lot_brw.stock_available/lot_brw.lot_factor) or 0
1666+
1667+ # TODO product.procudt or product.template
1668+ _inherit = 'sale.order.line'
1669+
1670+ _columns = {
1671+ 'prod_lot_id':fields.many2one('stock.production.lot','Production lot'),
1672+ 'pieces':fields.integer('Pieces',require=True),
1673+ 'track_outgoing':fields.boolean('Track Outgoing Lot'),
1674+ }
1675+ # TODO agregar validacion para requerir el nro de lote (track_outgoing)
1676+
1677+
1678+
1679+sale_order_line()
1680+
1681+class sale_order(osv.osv):
1682+
1683+ def action_ship_create(self, cr, uid, ids, *args):
1684+ result = super(sale_order, self).action_ship_create(cr, uid, ids, *args)
1685+ for order in self.browse(cr, uid, ids, context={}):
1686+ for ol in order.order_line:
1687+ for sm in ol.move_ids:
1688+ self.pool.get('stock.move').write(cr, uid, sm.id, {
1689+ 'prodlot_id':ol.prod_lot_id and ol.prod_lot_id.id,'pieces_qty':ol.pieces})
1690+ return result
1691+
1692+ _inherit = 'sale.order'
1693+
1694+
1695+
1696+
1697+
1698+sale_order()
1699+
1700+
1701
1702=== added file 'extra_UOM/model/stock.py'
1703--- extra_UOM/model/stock.py 1970-01-01 00:00:00 +0000
1704+++ extra_UOM/model/stock.py 2011-11-16 19:10:24 +0000
1705@@ -0,0 +1,84 @@
1706+# -*- coding: utf-8 -*-
1707+##############################################################################
1708+#
1709+# OpenERP, Open Source Management Solution
1710+#
1711+# This program is free software: you can redistribute it and/or modify
1712+# it under the terms of the GNU Affero General Public License as
1713+# published by the Free Software Foundation, either version 3 of the
1714+# License, or (at your option) any later version.
1715+#
1716+# This program is distributed in the hope that it will be useful,
1717+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1718+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1719+# GNU Affero General Public License for more details.
1720+#
1721+# You should have received a copy of the GNU Affero General Public License
1722+# along with this program. If not, see <http://www.gnu.org/licenses/>.
1723+#
1724+##############################################################################
1725+from osv import fields,osv
1726+import decimal_precision as dp
1727+
1728+class stock_move(osv.osv):
1729+ _inherit = 'stock.move'
1730+
1731+ def _compute_pieces(self, cr, uid, ids, name, arg, context=None):
1732+ move = self.browse(cr, uid, ids)
1733+ res = {}
1734+ for m in move:
1735+ if m.product_id.stock_driver in ('tile','slab','block'):
1736+ uom = self.pool.get('product.uom')
1737+ pieces = uom._compute_pieces(cr, uid, m.product_id.stock_driver, m.product_qty, m.prodlot_id.lot_factor, context)
1738+ res[m.id] = pieces
1739+ else:
1740+ res[m.id] = 0
1741+ return res
1742+
1743+ _columns = {
1744+ 'pieces_qty': fields.function(_compute_pieces, method=True, type="integer", string='Pieces'),
1745+ 'length': fields.char('Length (m)',size=64),
1746+ 'width': fields.float('Width (m)'),
1747+ 'heigth': fields.float('Heigth (m)'),
1748+
1749+ }
1750+
1751+stock_move()
1752+
1753+
1754+class stock_inventory_line(osv.osv):
1755+ """
1756+ stock_inventory_line
1757+ """
1758+
1759+ def _compute_pieces(self, cr, uid, ids, name, arg, context=None):
1760+ line = self.browse(cr, uid, ids)
1761+ res = {}
1762+ for l in line:
1763+ if l.product_id.stock_driver in ('tile','slab','block'):
1764+ uom = self.pool.get('product.uom')
1765+ pieces = uom._compute_pieces(cr, uid, l.product_id.stock_driver, l.product_qty, l.prod_lot_id.lot_factor, context)
1766+ res[l.id] = pieces
1767+ else:
1768+ res[l.id] = 0
1769+ return res
1770+
1771+ _inherit = 'stock.inventory.line'
1772+
1773+ _columns = {
1774+ 'pieces_qty': fields.function(_compute_pieces, method=True, type="integer", string='Pieces'),
1775+ }
1776+
1777+stock_inventory_line()
1778+
1779+class stock_picking(osv.osv):
1780+ _inherit = 'stock.picking'
1781+
1782+ def _invoice_line_hook(self, cr, uid, move_line, invoice_line_id):
1783+ ail_obj = self.pool.get('account.invoice.line')
1784+ 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)
1785+ return super(stock_picking,self)._invoice_line_hook(cr, uid, move_line, invoice_line_id)
1786+
1787+stock_picking()
1788+
1789+
1790
1791=== added directory 'extra_UOM/report'
1792=== added directory 'extra_UOM/security'
1793=== added directory 'extra_UOM/view'
1794=== added file 'extra_UOM/view/account_invoice.xml'
1795--- extra_UOM/view/account_invoice.xml 1970-01-01 00:00:00 +0000
1796+++ extra_UOM/view/account_invoice.xml 2011-11-16 19:10:24 +0000
1797@@ -0,0 +1,33 @@
1798+<?xml version="1.0" encoding="utf-8"?>
1799+<openerp>
1800+ <data>
1801+ <record model="ir.ui.view" id="view_account_invoice_UOM">
1802+ <field name="name">invoice.UOM</field>
1803+ <field name="model">account.invoice.line</field>
1804+ <field name="inherit_id" ref="account.view_invoice_line_tree" />
1805+ <field name="type">form</field>
1806+ <field name="arch" type="xml">
1807+ <xpath expr='/tree/field[@name="price_unit"]' position="after" >
1808+ <field name="pieces" />
1809+ <field name="prod_lot_id" />
1810+
1811+
1812+ </xpath>
1813+ </field>
1814+ </record>
1815+
1816+ <record model="ir.ui.view" id="view_account_invoice_form_UOM">
1817+ <field name="name">invoice.form.UOM</field>
1818+ <field name="model">account.invoice.line</field>
1819+ <field name="inherit_id" ref="account.view_invoice_line_form" />
1820+ <field name="type">form</field>
1821+ <field name="arch" type="xml">
1822+ <xpath expr='/form/notebook/page[@string="Line"]/field[@name="product_id"]' position="after" >
1823+ <field name="pieces" />
1824+ <field name="prod_lot_id" />
1825+
1826+ </xpath>
1827+ </field>
1828+ </record>
1829+ </data>
1830+</openerp>
1831
1832=== added file 'extra_UOM/view/extra_UOM_view.xml'
1833--- extra_UOM/view/extra_UOM_view.xml 1970-01-01 00:00:00 +0000
1834+++ extra_UOM/view/extra_UOM_view.xml 2011-11-16 19:10:24 +0000
1835@@ -0,0 +1,224 @@
1836+<?xml version="1.0" encoding="utf-8"?>
1837+<openerp>
1838+ <data>
1839+
1840+ <record model="ir.ui.view" id="view_production_lot_tree_extra_UOM">
1841+ <field name="name">stock.production.lot.tree</field>
1842+ <field name="model">stock.production.lot</field>
1843+ <field name="inherit_id" ref="stock.view_production_lot_tree" />
1844+ <field name="type">tree</field>
1845+ <field name="arch" type="xml">
1846+ <field name="date" position="after">
1847+ <field name="length" />
1848+ <field name="heigth" />
1849+ <field name="width" />
1850+ <field name="lot_factor" />
1851+ </field>
1852+ </field>
1853+ </record>
1854+
1855+ <record model="ir.ui.view" id="view_production_lot_form_extra_UOM">
1856+ <field name="name">stock.production.lot.form</field>
1857+ <field name="model">stock.production.lot</field>
1858+ <field name="inherit_id" ref="stock.view_production_lot_form" />
1859+ <field name="type">form</field>
1860+ <field name="arch" type="xml">
1861+ <field name="date" position="after">
1862+ <field name="length" on_change="on_change_size(length,heigth,width)" select="1"/>
1863+ <field name="heigth" on_change="on_change_size(length,heigth,width)" select="1"/>
1864+<!-- TODO attrs don't work-->
1865+ <field name="width" on_change="on_change_size(length,heigth,width)" select="1" attrs="{'readonly':[('product_product.stock_driver','!=','block')]}"/>
1866+ <field name="lot_factor" />
1867+ </field>
1868+ </field>
1869+ </record>
1870+
1871+<!-- stock.move-->
1872+ <record model="ir.ui.view" id="view_move_tree_extra_UOM">
1873+ <field name="name">stock.move.tree</field> <!--nombre de la vista-->
1874+ <field name="model">stock.move</field> <!--Objeto-->
1875+ <field name="inherit_id" ref="stock.view_move_tree" /> <!--ID xml-->
1876+ <field name="type">tree</field> <!--Tipo de Vista-->
1877+ <field name="arch" type="xml">
1878+ <field name="tracking_id" position="before">
1879+ <field name="pieces_qty"/>
1880+ </field>
1881+ </field>
1882+ </record>
1883+
1884+ <record model="ir.ui.view" id="view_move_form_extra_UOM">
1885+ <field name="name">stock.move.form</field> <!--nombre de la vista-->
1886+ <field name="model">stock.move</field> <!--Objeto-->
1887+ <field name="inherit_id" ref="stock.view_move_form" /> <!--ID xml-->
1888+ <field name="type">form</field> <!--Tipo de Vista-->
1889+ <field name="arch" type="xml">
1890+ <xpath expr='/form/group/button[@string="Split"]' position="after">
1891+ <field name="pieces_qty"/>
1892+ </xpath>
1893+
1894+ </field>
1895+ </record>
1896+
1897+ <record model="ir.ui.view" id="view_move_form_picking_extra_UOM">
1898+ <field name="name">stock.move..picking.form</field> <!--nombre de la vista-->
1899+ <field name="model">stock.move</field> <!--Objeto-->
1900+ <field name="inherit_id" ref="stock.view_move_form_reception_picking" /> <!--ID xml-->
1901+ <field name="type">form</field> <!--Tipo de Vista-->
1902+ <field name="arch" type="xml">
1903+ <xpath expr='/form/group/button[@string="Process"]' position="after">
1904+ <field name="pieces_qty"/>
1905+ </xpath>
1906+
1907+ </field>
1908+ </record>
1909+
1910+
1911+
1912+
1913+
1914+
1915+
1916+
1917+
1918+
1919+<!-- sale.order-->
1920+ <record model="ir.ui.view" id="sale_view_order_form_extra_UOM">
1921+ <field name="name">sale_view_order_form_extra_UOM</field> <!--nombre de la vista-->
1922+ <field name="model">sale.order</field> <!--Objeto-->
1923+ <field name="inherit_id" ref="sale.view_order_form" /> <!--ID xml-->
1924+ <field name="type">form</field> <!--Tipo de Vista-->
1925+ <field name="arch" type="xml">
1926+ <xpath expr='/form/notebook/page[@string="Sales Order"]/field[@name="order_line"]/form/notebook/page[@string="Order Line"]/field[@name="product_id"]'
1927+ position="after">
1928+ <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,pieces)"/>
1929+ <field name="pieces" on_change="on_change_qty(product_id,prod_lot_id,pieces)" />
1930+ <field name="track_outgoing" invisible="1"/>
1931+ </xpath>
1932+ <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>
1933+ <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>
1934+ <tree >
1935+ <field name="prod_lot_id" />
1936+ <field name="pieces"/>
1937+
1938+ </tree>
1939+ </field>
1940+ </record>
1941+
1942+
1943+<!-- inventory_line-->
1944+ <record model="ir.ui.view" id="view_stock_inventory_form_extra_UOM">
1945+ <field name="name">stock.inventory.form</field> <!--nombre de la vista-->
1946+ <field name="model">stock.inventory</field> <!--Objeto-->
1947+ <field name="inherit_id" ref="stock.view_inventory_form" /> <!--ID xml-->
1948+ <field name="type">form</field> <!--Tipo de Vista-->
1949+ <field name="arch" type="xml">
1950+ <field name="product_uom" position="after">
1951+ <field name="pieces_qty"/>
1952+ </field>
1953+ </field>
1954+ </record>
1955+
1956+
1957+ <record model="ir.ui.view" id="product_normal_form_view_extra_UOM">
1958+ <field name="name">product.normal.form</field>
1959+ <field name="model">product.product</field>
1960+ <field name="inherit_id" ref="product.product_normal_form_view" />
1961+ <field name="type">form</field>
1962+ <field name="arch" type="xml">
1963+ <field name="uom_po_id" position="after">
1964+ <field name="stock_driver"/>
1965+ </field>
1966+ <notebook position="inside">
1967+ <page string="Special features">
1968+ <separator string="Physical characteristics" colspan="6"/>
1969+ <newline/>
1970+ <group col="6" colspan="4">
1971+ <field name="layout_id"/>
1972+ <field name="material_id"/>
1973+ <field name="finish_id"/>
1974+ <field name="quality_id"/>
1975+ <field name="color_id"/>
1976+ </group>
1977+ <separator string="Format" colspan="6"/>
1978+ <newline/>
1979+<!-- TODO Este campo debe ser readonly si stock > 0, solo se puede modificar mientras no existan lotes asociados al producto-->
1980+ <field name="tile_format_id" attrs="{'readonly':[('stock_driver','!=','tile')]}"/>
1981+ <field name="thickness" attrs="{'readonly':[('stock_driver','!=','tile'),('stock_driver','!=','slab')]}"/>
1982+ <separator string="Others" colspan="6"/>
1983+ <newline/>
1984+ <field name="pricelist_group_id" attrs="{'readonly':[('sale_ok','=',False)]}"/>
1985+ <field name="origin_country_id"/>
1986+ <separator string="Similar products" colspan="6"/>
1987+ <newline/>
1988+<!-- TODO ajustar campos a la vista en el widget-->
1989+ <field name="similarity_ids" nolabel="1" colspan="6"/>
1990+ </page>
1991+ </notebook>
1992+ </field>
1993+ </record>
1994+
1995+<!-- <record model="ir.ui.view" id="view_split_in_lots_extra_UOM">-->
1996+<!-- <field name="name">Split.in.lots</field>-->
1997+<!-- <field name="model">stock.move.split</field>-->
1998+<!-- <field name="inherit_id" ref="stock.view_split_in_lots" />-->
1999+<!-- <field name="type">form</field>-->
2000+<!-- <field name="arch" type="xml">-->
2001+<!-- <field name="qty" position="after">-->
2002+<!-- <field name="length" />-->
2003+<!-- <field name="width" />-->
2004+<!-- <field name="heigth" />-->
2005+<!-- <field name="lot_location" />-->
2006+<!-- <field name="lot_factor" />-->
2007+<!-- </field>-->
2008+<!-- </field>-->
2009+<!-- </record>-->
2010+
2011+<!-- <record model="ir.ui.view" id="view_product_form_expiry">-->
2012+<!-- <field name="name">product.normal.form</field>-->
2013+<!-- <field name="model">product.product</field>-->
2014+<!-- <field name="inherit_id" ref="product.product_normal_form_view" />-->
2015+<!-- <field name="type">form</field>-->
2016+<!-- <field name="arch" type="xml">-->
2017+<!-- <notebook position="inside">-->
2018+<!-- <page string="Dimensions">-->
2019+<!-- <field name="length" select="1"/>-->
2020+<!-- <field name="width" select="1"/>-->
2021+<!-- <field name="heigth" select="1"/>-->
2022+<!-- <field name="lot_location" select="1"/>-->
2023+<!-- <field name="lot_factor" />-->
2024+<!-- </page>-->
2025+<!-- </notebook>-->
2026+<!-- </field>-->
2027+<!-- </record>-->
2028+
2029+<!-- <record model="ir.ui.view" id="view_product_product_material_tree">-->
2030+<!-- <field name="name">product.product.material.tree</field>-->
2031+<!-- <field name="model">product.product.material</field>-->
2032+<!-- <field name="type">tree</field>-->
2033+<!-- <field name="arch" type="xml">-->
2034+<!-- <form string="From profit">-->
2035+<!-- <group col="4" colspan="4">-->
2036+<!-- <field name="name"/>-->
2037+<!-- <button icon="gtk-cancel" special="cancel" string="Cancel"/>-->
2038+<!-- </group>-->
2039+<!-- </form>-->
2040+<!-- </field>-->
2041+<!-- </record> -->
2042+
2043+<!-- <record id="action_product_product_material" model="ir.actions.act_window">-->
2044+<!-- <field name="name">Product materials</field>-->
2045+<!-- <field name="res_model">product.product.material</field>-->
2046+<!-- <field name="view_type">form</field>-->
2047+<!-- <field name="view_mode">tree</field>-->
2048+<!-- <field name="view_id" ref="view_product_product_material_tree"/>-->
2049+<!-- <field name="target">new</field>-->
2050+<!-- </record>-->
2051+
2052+<!-- <menuitem -->
2053+<!-- parent="base.menu_config" -->
2054+<!-- id="menu_action_tcv_profit_tree" -->
2055+<!-- action="action_product_product_material"/>-->
2056+
2057+ </data>
2058+</openerp>
2059+
2060
2061=== added file 'extra_UOM/view/purchase_view.xml'
2062--- extra_UOM/view/purchase_view.xml 1970-01-01 00:00:00 +0000
2063+++ extra_UOM/view/purchase_view.xml 2011-11-16 19:10:24 +0000
2064@@ -0,0 +1,30 @@
2065+<?xml version="1.0" encoding="utf-8"?>
2066+<openerp>
2067+ <data>
2068+ <record id="purchase_order_form_line" model="ir.ui.view">
2069+ <field name="name">purchase.order.form.line</field>
2070+ <field name="model">purchase.order.line</field>
2071+ <field name="type">form</field>
2072+ <field name="inherit_id" ref="purchase.purchase_order_line_form" />
2073+ <field name="arch" type="xml">
2074+ <xpath expr='/form/notebook/page[@string="Order Line"]/field[@name="product_id"]' position="after">
2075+ <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)"/>
2076+ <field name="pieces" on_change="on_change_piece(product_id,prod_lot_id)" />
2077+ <field name="track_incoming" invisible="1"/>
2078+ </xpath>
2079+ </field>
2080+ </record>
2081+ <record id="purchase_order_form_" model="ir.ui.view">
2082+ <field name="name">purchase.order.form</field>
2083+ <field name="model">purchase.order</field>
2084+ <field name="type">form</field>
2085+ <field name="inherit_id" ref="purchase.purchase_order_form" />
2086+ <field name="arch" type="xml">
2087+ <xpath expr='/form/notebook/page[@string="Purchase Order"]/field["order_line"]/tree/field[@name="product_uom"]' position="after">
2088+ <field name="prod_lot_id" />
2089+ <field name="pieces" />
2090+ </xpath>
2091+ </field>
2092+ </record>
2093+ </data>
2094+</openerp>
2095
2096=== added directory 'extra_UOM/wizard'
2097=== added file 'extra_UOM/wizard/__init__.py'
2098--- extra_UOM/wizard/__init__.py 1970-01-01 00:00:00 +0000
2099+++ extra_UOM/wizard/__init__.py 2011-11-16 19:10:24 +0000
2100@@ -0,0 +1,22 @@
2101+# -*- coding: utf-8 -*-
2102+##############################################################################
2103+#
2104+# OpenERP, Open Source Management Solution
2105+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2106+#
2107+# This program is free software: you can redistribute it and/or modify
2108+# it under the terms of the GNU Affero General Public License as
2109+# published by the Free Software Foundation, either version 3 of the
2110+# License, or (at your option) any later version.
2111+#
2112+# This program is distributed in the hope that it will be useful,
2113+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2114+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2115+# GNU Affero General Public License for more details.
2116+#
2117+# You should have received a copy of the GNU Affero General Public License
2118+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2119+#
2120+##############################################################################
2121+
2122+import stock_move_split
2123
2124=== added file 'extra_UOM/wizard/stock_move_split.py'
2125--- extra_UOM/wizard/stock_move_split.py 1970-01-01 00:00:00 +0000
2126+++ extra_UOM/wizard/stock_move_split.py 2011-11-16 19:10:24 +0000
2127@@ -0,0 +1,383 @@
2128+# -*- coding: utf-8 -*-
2129+##############################################################################
2130+#
2131+# OpenERP, Open Source Management Solution
2132+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
2133+#
2134+# This program is free software: you can redistribute it and/or modify
2135+# it under the terms of the GNU Affero General Public License as
2136+# published by the Free Software Foundation, either version 3 of the
2137+# License, or (at your option) any later version.
2138+#
2139+# This program is distributed in the hope that it will be useful,
2140+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2141+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2142+# GNU Affero General Public License for more details.
2143+#
2144+# You should have received a copy of the GNU Affero General Public License
2145+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2146+#
2147+##############################################################################
2148+
2149+from osv import fields, osv
2150+import decimal_precision as dp
2151+from tools.translate import _
2152+import time
2153+
2154+class stock_tecv_wizard(osv.osv_memory):
2155+
2156+ def create_line(cr,uid,ids,context=None):
2157+ split_line = self.pool.get('stock.move.split.lines')
2158+ split_line_exist = self.pool.get('stock.move.split.lines.exist')
2159+
2160+
2161+ def default_get(self, cr, uid, fields, context=None):
2162+ """ Get default values
2163+ @param self: The object pointer.
2164+ @param cr: A database cursor
2165+ @param uid: ID of the user currently logged in
2166+ @param fields: List of fields for default value
2167+ @param context: A standard dictionary
2168+ @return: Default values of fields
2169+ """
2170+ if context is None:
2171+ context = {}
2172+ res = super(stock_tecv_wizard, self).default_get(cr, uid, fields, context=context)
2173+ if context.get('active_id'):
2174+ move = self.pool.get('stock.move').browse(cr, uid, context['active_id'], context=context)
2175+ if 'product_id' in fields:
2176+ res.update({'product_id': move.product_id and move.product_id.id})
2177+ if 'product_uom' in fields:
2178+ res.update({'product_uom': move.product_uom and move.product_uom.id})
2179+ if 'qty' in fields:
2180+ res.update({'qty': move.product_qty})
2181+ if 'use_exist' in fields:
2182+ res.update({'use_exist': (move.picking_id and move.picking_id.type=='out' and True) or False})
2183+ if 'location_id' in fields:
2184+ res.update({'location_id': move.location_id and move.location_id.id})
2185+
2186+ res.update({'type_picking':move.picking_id.type})
2187+ res.update({'faclot':move and move.id })
2188+
2189+ return res
2190+
2191+
2192+
2193+ def split(self, cr, uid, ids, move_ids, context=None):
2194+ """ To split stock moves into production lot
2195+ @param self: The object pointer.
2196+ @param cr: A database cursor
2197+ @param uid: ID of the user currently logged in
2198+ @param ids: the ID or list of IDs if we want more than one
2199+ @param move_ids: the ID or list of IDs of stock move we want to split
2200+ @param context: A standard dictionary
2201+ @return:
2202+ """
2203+ if context is None:
2204+ context = {}
2205+ inventory_id = context.get('inventory_id', False)
2206+ prodlot_obj = self.pool.get('stock.production.lot')
2207+ inventory_obj = self.pool.get('stock.inventory')
2208+ line_obj = self.pool.get('stock.move.split.lines')
2209+ move_obj = self.pool.get('stock.move')
2210+ new_move = []
2211+ for data in self.browse(cr, uid, ids, context=context):
2212+ for move in move_obj.browse(cr, uid, move_ids, context=context):
2213+ move_qty = move.product_qty
2214+ quantity_rest = move.product_qty
2215+ uos_qty_rest = move.product_uos_qty
2216+ new_move = []
2217+ if data.use_exist:
2218+ lines = [l for l in data.line_exist_ids if l]
2219+ else:
2220+ lines = [l for l in data.line_ids if l]
2221+ total_move_qty = 0.0
2222+ for line in lines:
2223+ print "lengthhhhh",line.length1
2224+ print "nueva cantidad",line.quantity1
2225+ quantity = line.quantity1
2226+ total_move_qty += quantity
2227+ if total_move_qty > move_qty:
2228+ raise osv.except_osv(_('Processing Error'), _('Processing quantity %d for %s is larger than the available quantity %d!')\
2229+ %(total_move_qty, move.product_id.name, move_qty))
2230+ if quantity <= 0 or move_qty == 0:
2231+ continue
2232+ quantity_rest -= quantity
2233+ uos_qty = quantity / move_qty * move.product_uos_qty
2234+ uos_qty_rest = quantity_rest / move_qty * move.product_uos_qty
2235+ if quantity_rest < 0:
2236+ quantity_rest = quantity
2237+ break
2238+ print "cantidaddd",quantity
2239+ default_val = {
2240+ 'product_qty': quantity,
2241+ 'product_uos_qty': uos_qty,
2242+ 'state': move.state
2243+ }
2244+ if quantity_rest > 0:
2245+ current_move = move_obj.copy(cr, uid, move.id, default_val, context=context)
2246+ if inventory_id and current_move:
2247+ inventory_obj.write(cr, uid, inventory_id, {'move_ids': [(4, current_move)]}, context=context)
2248+ new_move.append(current_move)
2249+
2250+ if quantity_rest == 0:
2251+ current_move = move.id
2252+ prodlot_id = False
2253+ if data.use_exist:
2254+ prodlot_id = line.prodlot_id.id
2255+ if not prodlot_id:
2256+ prodlot_id = prodlot_obj.create(cr, uid, {
2257+ 'name': line.name,
2258+ 'product_id': move.product_id and move.product_id.id,
2259+ 'length':line.length1,
2260+ 'width':line.width1,
2261+ 'heigth':line.heigth1,
2262+ 'pieces_qty':line.pieces_qty1,
2263+ },
2264+ context=context)
2265+
2266+ move_obj.write(cr, uid, [current_move], {'prodlot_id': prodlot_id, 'state':move.state})
2267+
2268+ update_val = {}
2269+ if quantity_rest > 0:
2270+ update_val['product_qty'] = quantity_rest
2271+ update_val['product_uos_qty'] = uos_qty_rest
2272+ update_val['state'] = move.state
2273+ move_obj.write(cr, uid, [move.id], update_val)
2274+
2275+ return new_move
2276+
2277+ def on_change_quantity_sum(self, cr, uid, ids,line_id, context=None):
2278+ if context is None: context={}
2279+ res ={'value':{}}
2280+ total = 0
2281+ for i in line_id:
2282+ total = total + i[2]['quantity']
2283+ res = {'value':{'total_quantity':total,'operations':len(line_id)}}
2284+
2285+ return res
2286+
2287+
2288+
2289+
2290+ def split_lot(self, cr, uid, ids, context=None):
2291+ """ To split a lot
2292+ @param self: The object pointer.
2293+ @param cr: A database cursor
2294+ @param uid: ID of the user currently logged in
2295+ @param ids: An ID or list of IDs if we want more than one
2296+ @param context: A standard dictionary
2297+ @return:
2298+ """
2299+ if context is None:
2300+ context = {}
2301+ self.split(cr, uid, ids, context.get('active_ids'), context=context)
2302+ return {'type': 'ir.actions.act_window_close'}
2303+
2304+ _inherit = "stock.move.split"
2305+
2306+ _columns = {
2307+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2308+ 'lot':fields.integer('Integer'),
2309+ 'total_quantity':fields.float("Total Quantity", help="Total of quantity selected"),
2310+ 'operations':fields.integer('Operationes', help="Number of split created"),
2311+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2312+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2313+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2314+ 'pieces_qty': fields.integer('Pieces'),
2315+ 'faclot': fields.integer('Production Lot'),
2316+ 'type_picking':fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True),
2317+}
2318+
2319+stock_tecv_wizard()
2320+
2321+class stock_move_split_lines(osv.osv_memory):
2322+
2323+
2324+ def on_change_compute(self,cr,uid,ids,product_id,type_picking,faclot,quantity,pieces, length, heigth, width,context=None):
2325+ print "idddd",ids
2326+ print "length",length
2327+ print "heigth",heigth
2328+ print "width",width
2329+ res = {'value': {}}
2330+ if not context:
2331+ context = {}
2332+
2333+
2334+ if product_id:
2335+ product_obj = self.pool.get('product.product')
2336+ product_brw = product_obj.browse(cr,uid,product_id,context=context)
2337+ if product_brw.stock_driver == 'normal' :
2338+ res['value'].update({'factor': 3})
2339+ print "normal"
2340+ if product_brw.stock_driver == 'tile' :
2341+ res['value'].update({'factor': 2})
2342+ print "tile"
2343+ if product_brw.stock_driver == 'slab' :
2344+ res['value'].update({'factor': 1})
2345+ print "slab"
2346+ if product_brw.stock_driver == 'block' :
2347+ res['value'].update({'factor': 0})
2348+ print "block"
2349+
2350+
2351+
2352+ driver = product_brw.stock_driver
2353+ product_obj = self.pool.get('product.uom')
2354+ area = product_obj._compute_area(cr, uid,ids,driver, pieces, length, heigth, width)
2355+ print "areaaaa",area
2356+ print "diwuheud",product_brw.tile_format_id
2357+ if type_picking == 'in':
2358+
2359+ if product_brw.tile_format_id:
2360+
2361+ if product_brw.stock_driver == 'tile':
2362+ res['value'].update({'quantity': area})
2363+ res['value'].update({'quantity1': area})
2364+ #~ res['value'].update({'pieces_qty': 0})
2365+ res['value'].update({'length': product_brw.tile_format_id.length})
2366+ res['value'].update({'length1': product_brw.tile_format_id.length})
2367+ res['value'].update({'heigth': product_brw.tile_format_id.heigth})
2368+ res['value'].update({'heigth1': product_brw.tile_format_id.heigth})
2369+
2370+
2371+ if product_brw.stock_driver == 'slab':
2372+ res['value'].update({'quantity': area})
2373+ res['value'].update({'quantity1': area})
2374+
2375+
2376+
2377+ if product_brw.stock_driver == 'block':
2378+ res['value'].update({'quantity': area})
2379+ res['value'].update({'quantity1': area})
2380+
2381+ else:
2382+ if product_brw.stock_driver == 'tile':
2383+ res['value'].update({'quantity': area})
2384+ res['value'].update({'quantity1': area})
2385+ #~ res['value'].update({'pieces_qty': 0})
2386+ res['value'].update({'length': length})
2387+ res['value'].update({'length1': length})
2388+ res['value'].update({'heigth': heigth})
2389+ res['value'].update({'heigth1': heigth})
2390+
2391+
2392+ if product_brw.stock_driver == 'slab':
2393+ res['value'].update({'quantity': area})
2394+ res['value'].update({'quantity1': area})
2395+
2396+
2397+
2398+ if product_brw.stock_driver == 'block':
2399+ res['value'].update({'quantity': area})
2400+ res['value'].update({'quantity1': area})
2401+
2402+ return res
2403+
2404+ _inherit = "stock.move.split.lines"
2405+
2406+ _columns = {
2407+ 'lote':fields.integer('Lot Number'),
2408+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2409+ 'location_id': fields.many2one('stock.location', 'Source Location'),
2410+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2411+ 'length1': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2412+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2413+ 'heigth1': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2414+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2415+ 'width1': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2416+ 'quantity': fields.float('Quantity',digits_compute=dp.get_precision('Product UoM')),
2417+ 'quantity1': fields.float('Quantity',digits_compute=dp.get_precision('Product UoM')),
2418+ 'pieces_qty': fields.integer('Pieces'),
2419+ 'pieces_qty1': fields.integer('Pieces'),
2420+}
2421+stock_move_split_lines()
2422+
2423+class stock_move_split_lines_exist(osv.osv_memory):
2424+
2425+ def on_change_compute(self,cr,uid,ids,product_id,type_picking,prodlot,quantity,pieces,length, heigth, width,context=None):
2426+ print "Tipoo",type_picking
2427+ print "length",length
2428+ print "heigth",heigth
2429+ print "width",width
2430+ res = {'value': {}}
2431+ if not context:
2432+ context = {}
2433+ if product_id:
2434+ product_obj = self.pool.get('product.product')
2435+ product_brw = product_obj.browse(cr,uid,product_id,context=context)
2436+ lot_obj = self.pool.get('stock.production.lot')
2437+ lot_brw = lot_obj.browse(cr,uid,prodlot,context=context)
2438+ if product_brw.stock_driver == 'normal' :
2439+ res['value'].update({'factor': 3})
2440+ print "normal"
2441+ if product_brw.stock_driver == 'tile' :
2442+ res['value'].update({'factor': 2})
2443+ print "tile"
2444+ if product_brw.stock_driver == 'slab' :
2445+ res['value'].update({'factor': 1})
2446+ print "slab"
2447+ if product_brw.stock_driver == 'block' :
2448+ res['value'].update({'factor': 0})
2449+ print "block"
2450+
2451+
2452+ driver = product_brw.stock_driver
2453+ product_obj = self.pool.get('product.uom')
2454+ area = product_obj._compute_area(cr, uid,ids,driver, pieces, length, heigth,width)
2455+ print "areaaaa",area
2456+
2457+ if type_picking == 'out':
2458+ if product_brw.stock_driver == 'tile':
2459+ res['value'].update({'quantity': product_brw.virtual_available})
2460+ res['value'].update({'quantity1': product_brw.virtual_available})
2461+ res['value'].update({'pieces_qty': ((product_brw.virtual_available)/(lot_brw.lot_factor))})
2462+ res['value'].update({'pieces_qty1': ((product_brw.virtual_available)/(lot_brw.lot_factor))})
2463+ res['value'].update({'length': (lot_brw.length)})
2464+ res['value'].update({'length1': (lot_brw.length)})
2465+ res['value'].update({'heigth': (lot_brw.heigth)})
2466+ res['value'].update({'heigth1': (lot_brw.heigth)})
2467+
2468+
2469+ if product_brw.stock_driver == 'slab':
2470+ res['value'].update({'quantity': product_brw.virtual_available})
2471+ res['value'].update({'quantity1': product_brw.virtual_available})
2472+ #~ res['value'].update({'pieces_qty': 1})
2473+ res['value'].update({'length': (lot_brw.length)})
2474+ res['value'].update({'length1': (lot_brw.length)})
2475+ res['value'].update({'heigth': (lot_brw.heigth)})
2476+ res['value'].update({'heigth1': (lot_brw.heigth)})
2477+
2478+
2479+ if product_brw.stock_driver == 'block':
2480+ res['value'].update({'quantity': product_brw.virtual_available})
2481+ #~ res['value'].update({'pieces_qty': 1})
2482+ res['value'].update({'length': lot_brw.length})
2483+ res['value'].update({'length1': lot_brw.length})
2484+ res['value'].update({'heigth': lot_brw.heigth})
2485+ res['value'].update({'heigth1': lot_brw.heigth})
2486+ res['value'].update({'width': lot_brw.width})
2487+ res['value'].update({'width1': lot_brw.width})
2488+
2489+
2490+
2491+ return res
2492+
2493+ _inherit = "stock.move.split.lines.exist"
2494+
2495+ _columns = {
2496+ 'factor':fields.integer('Factor',help="This field define the field in readonly"),
2497+ 'length': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2498+ 'length1': fields.float('Length (m)',digits_compute=dp.get_precision('Extra UOM data')),
2499+ 'heigth': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2500+ 'heigth1': fields.float('Heigth (m)',digits_compute=dp.get_precision('Extra UOM data')),
2501+ 'width': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2502+ 'width1': fields.float('Width (m)',digits_compute=dp.get_precision('Extra UOM data')),
2503+ 'quantity': fields.float('Quantity'),
2504+ 'quantity1': fields.float('Quantity'),
2505+ 'pieces_qty': fields.integer('Pieces'),
2506+ 'pieces_qty1': fields.integer('Pieces'),
2507+ 'location_id': fields.many2one('stock.location', 'Source Location'),
2508+ 'lote':fields.integer('Lot Number'),
2509+}
2510+stock_move_split_lines_exist()
2511
2512=== added file 'extra_UOM/wizard/stock_move_split_view.xml'
2513--- extra_UOM/wizard/stock_move_split_view.xml 1970-01-01 00:00:00 +0000
2514+++ extra_UOM/wizard/stock_move_split_view.xml 2011-11-16 19:10:24 +0000
2515@@ -0,0 +1,90 @@
2516+<?xml version="1.0" encoding="utf-8"?>
2517+<openerp>
2518+ <data>
2519+ <record id="view_split_in_tecv" model="ir.ui.view">
2520+ <field name="name">Split lots</field>
2521+ <field name="model">stock.move.split</field>
2522+ <field name="type">form</field>
2523+ <field name="inherit_id" ref="stock.view_split_in_lots" />
2524+ <field name="arch" type="xml">
2525+ <xpath expr='/form/group/field[@name="product_id"]' position="replace">
2526+ <field name="product_id" colspan="4" readonly="1" />
2527+ </xpath>
2528+ <xpath expr='/form/group/group/group/field[@name="product_uom"]' position="after">
2529+ <field name="type_picking" invisible="1" />
2530+ <field name="faclot" invisible="1" />
2531+ <field name="total_quantity" colspan="1" />
2532+ <field name="operations" colspan="1" readonly="1" />
2533+ </xpath>
2534+ <xpath expr='/form/group/group/field[@name="line_ids"]' position="replace">
2535+ <field name="line_ids" on_change="on_change_quantity_sum(line_ids)">
2536+ <tree string="Production Lot Numbers" editable="bottom">
2537+ <field name="name" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2538+ <field name="factor" invisible="1" />
2539+ <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)" />
2540+ <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="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)" />
2542+ <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="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)" />
2544+ <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2545+ <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)" />
2546+ <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" />
2547+ <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)" />
2548+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2549+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2550+ </tree>
2551+ <form string="Production Lot Number">
2552+ <field name="name" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2553+ <field name="factor" invisible="1" />
2554+ <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)" />
2555+ <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2556+ <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)" />
2557+ <field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2558+ <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)" />
2559+ <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2560+ <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)" />
2561+ <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" />
2562+ <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)" />
2563+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2564+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,parent.faclot,quantity,pieces_qty,length, heigth, width)" />
2565+ </form>
2566+ </field>
2567+ </xpath>
2568+ <xpath expr='/form/group/group/field[@name="line_exist_ids"]' position="replace">
2569+ <field name="line_exist_ids" on_change="on_change_quantity_sum(line_exist_ids)">
2570+ <tree string="Production Lot Numbers" editable="bottom">
2571+ <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)" />
2572+ <field name="factor" invisible="1" />
2573+ <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)" />
2574+ <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2575+ <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)" />
2576+ <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2577+ <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)" />
2578+ <field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2579+ <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)" />
2580+ <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" />
2581+ <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)" />
2582+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2583+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" />
2584+ </tree>
2585+ <form string="Production Lot Number">
2586+ <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)" />
2587+ <field name="factor" invisible="1" />
2588+ <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)" />
2589+ <field name="length1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2590+ <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)" />
2591+ <field name="width1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2592+ <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)" />
2593+ <field name="heigth1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2594+ <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)" />
2595+ <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" />
2596+ <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)" />
2597+ <field name="quantity1" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" invisible="1" />
2598+ <field name="location_id" on_change="on_change_compute(parent.product_id,parent.type_picking,prodlot_id,quantity,pieces_qty,length, heigth, width)" />
2599+ </form>
2600+ </field>
2601+ </xpath>
2602+ </field>
2603+ </record>
2604+ </data>
2605+</openerp>
2606
2607=== added directory 'extra_UOM/workflow'
2608=== added directory 'fetchmail_document'
2609=== added file 'fetchmail_document/__init__.py'
2610--- fetchmail_document/__init__.py 1970-01-01 00:00:00 +0000
2611+++ fetchmail_document/__init__.py 2011-11-16 19:10:24 +0000
2612@@ -0,0 +1,1 @@
2613+import document
2614
2615=== added file 'fetchmail_document/__openerp__.py'
2616--- fetchmail_document/__openerp__.py 1970-01-01 00:00:00 +0000
2617+++ fetchmail_document/__openerp__.py 2011-11-16 19:10:24 +0000
2618@@ -0,0 +1,20 @@
2619+# -*- encoding: utf-8 -*-
2620+{
2621+ "name" : "Fetchmail Corrections",
2622+ "version" : "0.1",
2623+ "depends" : ["fetchmail","document",],
2624+ "author" : "Vauxoo",
2625+ "description" : """
2626+ This module correct some behaviours on Document and Fetchmail modules combinated.
2627+ """,
2628+ "website" : "http://vauxoo.com",
2629+ "category" : "Tools",
2630+ "init_xml" : [
2631+ ],
2632+ "demo_xml" : [
2633+ ],
2634+ "update_xml" : [
2635+ ],
2636+ "active": False,
2637+ "installable": True,
2638+}
2639
2640=== added file 'fetchmail_document/crm_claim.py'
2641--- fetchmail_document/crm_claim.py 1970-01-01 00:00:00 +0000
2642+++ fetchmail_document/crm_claim.py 2011-11-16 19:10:24 +0000
2643@@ -0,0 +1,12 @@
2644+# -*- encoding: utf-8 -*-
2645+from osv import osv
2646+from osv import fields
2647+from tools.translate import _
2648+
2649+class crm_claim(osv.osv):
2650+ """
2651+ crm_claim
2652+ """
2653+ _inherit = 'crm.claim'
2654+ _log_create = True
2655+crm_claim()
2656
2657=== added file 'fetchmail_document/document.py'
2658--- fetchmail_document/document.py 1970-01-01 00:00:00 +0000
2659+++ fetchmail_document/document.py 2011-11-16 19:10:24 +0000
2660@@ -0,0 +1,31 @@
2661+# -*- encoding: utf-8 -*-
2662+from osv import osv
2663+from osv import fields
2664+from tools.translate import _
2665+
2666+class document(osv.osv):
2667+ """
2668+ fetchmail
2669+ """
2670+ _inherit = 'ir.attachment'
2671+
2672+ def _check_duplication(self, cr, uid, ids, context=None):
2673+ for attach in self.browse(cr, uid, ids, context):
2674+ domain = [('id', '!=', attach.id),
2675+ ('name', '=', attach.name),
2676+ ('parent_id', '=', attach.parent_id.id),
2677+ ('res_model', '=', attach.res_model),
2678+ ('res_id', '=', attach.res_id),
2679+ ]
2680+ #If another model fail i need to add here the validation "Just for V6.0"
2681+ if attach.res_model=='project.issue':
2682+ return True
2683+ if self.search(cr, uid, domain, context=context):
2684+ return False
2685+ return True
2686+ # On Trunk there are a commentary that say with pure SQL it ca not be done.
2687+ # Delete this constraint whe we migrate to 6.1
2688+ _constraints = [
2689+ (_check_duplication, 'File name must be unique!', ['name', 'parent_id', 'res_model', 'res_id'])
2690+ ]
2691+document()
2692
2693=== added file 'fetchmail_document/fetchmail_view.xml'
2694=== added directory 'fetchmail_document/i18n'
2695=== added directory 'fetchmail_document/security'
2696=== added directory 'icecat_product_uniqueness'
2697=== added file 'icecat_product_uniqueness/__init__.py'
2698--- icecat_product_uniqueness/__init__.py 1970-01-01 00:00:00 +0000
2699+++ icecat_product_uniqueness/__init__.py 2011-11-16 19:10:24 +0000
2700@@ -0,0 +1,28 @@
2701+# -*- encoding: utf-8 -*-
2702+##############################################################################
2703+# Copyright (c) 2011 Vauxoo (http://vauxoo.com)
2704+# All Rights Reserved.
2705+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2706+#
2707+# WARNING: This program as such is intended to be used by professional
2708+# programmers who take the whole responsability of assessing all potential
2709+# consequences resulting from its eventual inadequacies and bugs
2710+# End users who are looking for a ready-to-use solution with commercial
2711+# garantees and support are strongly adviced to contract a Free Software
2712+# Service Company
2713+#
2714+# This program is Free Software; you can redistribute it and/or
2715+# modify it under the terms of the GNU General Public License
2716+# as published by the Free Software Foundation; either version 2
2717+# of the License, or (at your option) any later version.
2718+#
2719+# This program is distributed in the hope that it will be useful,
2720+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2721+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2722+# GNU General Public License for more details.
2723+#
2724+# You should have received a copy of the GNU General Public License
2725+# along with this program; if not, write to the Free Software
2726+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2727+###############################################################################
2728+import product
2729
2730=== added file 'icecat_product_uniqueness/__openerp__.py'
2731--- icecat_product_uniqueness/__openerp__.py 1970-01-01 00:00:00 +0000
2732+++ icecat_product_uniqueness/__openerp__.py 2011-11-16 19:10:24 +0000
2733@@ -0,0 +1,40 @@
2734+# -*- encoding: utf-8 -*-
2735+##############################################################################
2736+# Copyright (c) 2011 Vauxoo (http://vauxoo.com)
2737+# All Rights Reserved.
2738+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2739+#
2740+# WARNING: This program as such is intended to be used by professional
2741+# programmers who take the whole responsability of assessing all potential
2742+# consequences resulting from its eventual inadequacies and bugs
2743+# End users who are looking for a ready-to-use solution with commercial
2744+# garantees and support are strongly adviced to contract a Free Software
2745+# Service Company
2746+#
2747+# This program is Free Software; you can redistribute it and/or
2748+# modify it under the terms of the GNU General Public License
2749+# as published by the Free Software Foundation; either version 2
2750+# of the License, or (at your option) any later version.
2751+#
2752+# This program is distributed in the hope that it will be useful,
2753+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2754+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2755+# GNU General Public License for more details.
2756+#
2757+# You should have received a copy of the GNU General Public License
2758+# along with this program; if not, write to the Free Software
2759+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2760+###############################################################################
2761+{
2762+ 'name' : 'Icecat Product Uniqueness Checker',
2763+ 'version' : '0.1',
2764+ 'author' : 'Vauxoo',
2765+ 'description' : 'Checks the uniqueness of a product loaded using the product_icecat module for every company',
2766+ 'category' : 'Custom',
2767+ 'website' : 'http://vauxoo.com',
2768+ 'depends' : ['base', 'product_icecat', 'product'],
2769+ 'update_xml' : ['product_view.xml'],
2770+ 'demo' : [],
2771+ 'active' : False,
2772+ 'installable': True,
2773+}
2774
2775=== added directory 'icecat_product_uniqueness/data'
2776=== added directory 'icecat_product_uniqueness/demo'
2777=== added directory 'icecat_product_uniqueness/i18n'
2778=== added file 'icecat_product_uniqueness/product.py'
2779--- icecat_product_uniqueness/product.py 1970-01-01 00:00:00 +0000
2780+++ icecat_product_uniqueness/product.py 2011-11-16 19:10:24 +0000
2781@@ -0,0 +1,60 @@
2782+# -*- encoding: utf-8 -*-
2783+##############################################################################
2784+# Copyright (c) 2011 OpenERP Venezuela (http://openerp.com.ve)
2785+# All Rights Reserved.
2786+# Programmed by: Israel Fermín Montilla <israel@openerp.com.ve>
2787+#
2788+# WARNING: This program as such is intended to be used by professional
2789+# programmers who take the whole responsability of assessing all potential
2790+# consequences resulting from its eventual inadequacies and bugs
2791+# End users who are looking for a ready-to-use solution with commercial
2792+# garantees and support are strongly adviced to contract a Free Software
2793+# Service Company
2794+#
2795+# This program is Free Software; you can redistribute it and/or
2796+# modify it under the terms of the GNU General Public License
2797+# as published by the Free Software Foundation; either version 2
2798+# of the License, or (at your option) any later version.
2799+#
2800+# This program is distributed in the hope that it will be useful,
2801+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2802+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2803+# GNU General Public License for more details.
2804+#
2805+# You should have received a copy of the GNU General Public License
2806+# along with this program; if not, write to the Free Software
2807+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2808+###############################################################################
2809+from osv import osv
2810+from osv import fields
2811+from tools.translate import _
2812+
2813+class product_inherited(osv.osv):
2814+ """
2815+ Checks if a loaded product already exists on the database
2816+ """
2817+ _inherit = 'product.product'
2818+
2819+ def _find_product(self, ean13, products):
2820+ for p in products:
2821+ if ean13 == p.ean13:
2822+ return p
2823+ return None
2824+
2825+ def _check_uniqueness(self, cr, uid, ids, context=None):
2826+ all_ids = self.search(cr, uid, [('id', '<>', ids[0])])
2827+ all_products = [p for p in self.browse(cr, uid, all_ids, [], context) if p.ean13 != False]
2828+ if all_products == []:
2829+ return True
2830+ for product in self.browse(cr, uid, ids, context):
2831+ if product.ean13 == False:
2832+ return True
2833+ if product.ean13 in [p.ean13 for p in all_products]:
2834+ p = self._find_product(product.ean13, all_products)
2835+ if p.company_id.name == product.company_id.name:
2836+ return False
2837+ return True
2838+
2839+ _constraints = [(_check_uniqueness, 'ERROR, product already exists for this company', ['ean13'])]
2840+
2841+product_inherited()
2842
2843=== added file 'icecat_product_uniqueness/product_view.xml'
2844--- icecat_product_uniqueness/product_view.xml 1970-01-01 00:00:00 +0000
2845+++ icecat_product_uniqueness/product_view.xml 2011-11-16 19:10:24 +0000
2846@@ -0,0 +1,31 @@
2847+<?xml version="1.0" encoding="utf-8"?>
2848+<openerp>
2849+ <data>
2850+ <record model="ir.ui.view" id="inherited_product_product_tree">
2851+ <field name="name">product.product.tree.inherit</field>
2852+ <field name="model">product.product</field>
2853+ <field name="inherit_id" ref="product.product_product_tree_view" />
2854+ <field name="arch" type="xml">
2855+ <data>
2856+ <field name="default_code" position="replace">
2857+ <field name="ean13" />
2858+ </field>
2859+ </data>
2860+ </field>
2861+ </record>
2862+ <record model="ir.ui.view" id="inherited_product_search_form">
2863+ <field name="name">product.product.search.form.inherit</field>
2864+ <field name="model">product.product</field>
2865+ <field name="inherit_id" ref="product.product_search_form_view" />
2866+ <field name="arch" type="xml">
2867+ <data>
2868+ <field name="categ_id" position="before">
2869+ <field name="ean13" />
2870+ </field>
2871+ </data>
2872+ </field>
2873+ </record>
2874+
2875+ </data>
2876+</openerp>
2877+
2878
2879=== added directory 'icecat_product_uniqueness/report'
2880=== added directory 'icecat_product_uniqueness/security'
2881=== added directory 'icecat_product_uniqueness/wizard'
2882=== added directory 'l10n_ve_commerce'
2883=== added file 'l10n_ve_commerce/__init__.py'
2884--- l10n_ve_commerce/__init__.py 1970-01-01 00:00:00 +0000
2885+++ l10n_ve_commerce/__init__.py 2011-11-16 19:10:24 +0000
2886@@ -0,0 +1,25 @@
2887+# -*- encoding: utf-8 -*-
2888+##############################################################################
2889+#
2890+# OpenERP, Open Source Management Solution
2891+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2892+# $Id$
2893+#
2894+# This program is free software: you can redistribute it and/or modify
2895+# it under the terms of the GNU General Public License as published by
2896+# the Free Software Foundation, either version 3 of the License, or
2897+# (at your option) any later version.
2898+#
2899+# This program is distributed in the hope that it will be useful,
2900+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2901+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2902+# GNU General Public License for more details.
2903+#
2904+# You should have received a copy of the GNU General Public License
2905+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2906+#
2907+##############################################################################
2908+
2909+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2910+import account
2911+
2912
2913=== added file 'l10n_ve_commerce/__openerp__.py'
2914--- l10n_ve_commerce/__openerp__.py 1970-01-01 00:00:00 +0000
2915+++ l10n_ve_commerce/__openerp__.py 2011-11-16 19:10:24 +0000
2916@@ -0,0 +1,48 @@
2917+# -*- encoding: utf-8 -*-
2918+##############################################################################
2919+#
2920+# OpenERP, Open Source Management Solution
2921+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2922+# $Id$
2923+#
2924+# OpenERP, Open Source Management Solution
2925+# Copyright (C) 2004-2008 Vauxoo, C.A. (<http://vauxoo.com>). All Rights Reserved
2926+# $Id$
2927+# This program is free software: you can redistribute it and/or modify
2928+# it under the terms of the GNU General Public License as published by
2929+# the Free Software Foundation, either version 3 of the License, or
2930+# (at your option) any later version.
2931+#
2932+# This program is distributed in the hope that it will be useful,
2933+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2934+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2935+# GNU General Public License for more details.
2936+#
2937+# You should have received a copy of the GNU General Public License
2938+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2939+#
2940+##############################################################################
2941+{
2942+ "name" : "Commercial Chart Account for Venezuela",
2943+ "version" : "1.0",
2944+ "author" : "Tiny & Vauxoo",
2945+ "category" : "Localisation/Account Charts",
2946+ "description":
2947+'''
2948+This Module load a generic format for manage medium and big business.
2949+You will need accounting knowledge to understad sone concepts.
2950+''',
2951+ "depends" : ["account",
2952+ "account_chart"],
2953+ "demo_xml" : [],
2954+ "update_xml" : ['account_tax_code.xml',
2955+ 'account_user_types.xml',
2956+ 'account_chart.xml',
2957+ 'account_account.xml',
2958+ 'account_tax.xml',
2959+ 'l10n_chart_ve_wizard.xml'],
2960+ "active": False,
2961+ "installable": True,
2962+}
2963+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2964+
2965
2966=== added file 'l10n_ve_commerce/account.py'
2967--- l10n_ve_commerce/account.py 1970-01-01 00:00:00 +0000
2968+++ l10n_ve_commerce/account.py 2011-11-16 19:10:24 +0000
2969@@ -0,0 +1,71 @@
2970+# -*- encoding: utf-8 -*-
2971+##############################################################################
2972+#
2973+# OpenERP, Open Source Management Solution
2974+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
2975+# d$
2976+#
2977+# This program is free software: you can redistribute it and/or modify
2978+# it under the terms of the GNU General Public License as published by
2979+# the Free Software Foundation, either version 3 of the License, or
2980+# (at your option) any later version.
2981+#
2982+# This program is distributed in the hope that it will be useful,
2983+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2984+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2985+# GNU General Public License for more details.
2986+#
2987+# You should have received a copy of the GNU General Public License
2988+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2989+#
2990+##############################################################################
2991+from osv import osv
2992+from osv import fields
2993+from tools.translate import _
2994+
2995+class wizard_multi_charts_accounts(osv.osv_memory):
2996+ """
2997+ wizard_multi_charts_accounts(osv.osv_memory):
2998+ """
2999+ _inherit = 'wizard.multi.charts.accounts'
3000+
3001+ def _get_chart(self, cr, uid, context=None):
3002+ acc_tpl_obj = self.pool.get('account.chart.template')
3003+ ids = acc_tpl_obj.search(cr, uid, [],order='create_date desc', context=context)
3004+ if ids:
3005+ return ids[0]
3006+ return False
3007+
3008+ def _get_default_accounts(self, cr, uid, context=None):
3009+ accounts = []
3010+ return accounts
3011+
3012+ def _get_purchase_tax(self, cr, uid, context=None):
3013+ ids = self.pool.get('account.chart.template').search(cr, uid, [], order='create_date desc', context=context)
3014+ if ids:
3015+ chart_template_id = ids[0]
3016+ purchase_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
3017+ , "=", chart_template_id), ('type_tax_use', 'in', ('purchase','all'))], order="sequence")
3018+ return purchase_tax_ids and purchase_tax_ids[0] or False
3019+ return False
3020+
3021+ def _get_sale_tax(self, cr, uid, context=None):
3022+ ids = self.pool.get('account.chart.template').search(cr, uid, [], order='create_date desc', context=context)
3023+ if ids:
3024+ chart_template_id = ids[0]
3025+ sale_tax_ids = self.pool.get('account.tax.template').search(cr, uid, [("chart_template_id"
3026+ , "=", chart_template_id), ('type_tax_use', 'in', ('sale','all'))], order="sequence")
3027+ return sale_tax_ids and sale_tax_ids[0] or False
3028+ return False
3029+
3030+ _defaults = {
3031+ 'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, [uid], c)[0].company_id.id,
3032+ 'chart_template_id': _get_chart,
3033+ 'bank_accounts_id': _get_default_accounts,
3034+ 'code_digits': 10,
3035+ 'sale_tax': _get_sale_tax,
3036+ 'purchase_tax': _get_purchase_tax,
3037+ 'seq_journal': True
3038+ }
3039+wizard_multi_charts_accounts()
3040+
3041
3042=== added file 'l10n_ve_commerce/account_account.xml'
3043--- l10n_ve_commerce/account_account.xml 1970-01-01 00:00:00 +0000
3044+++ l10n_ve_commerce/account_account.xml 2011-11-16 19:10:24 +0000
3045@@ -0,0 +1,25 @@
3046+<?xml version="1.0"?>
3047+<openerp>
3048+ <data noupdate="1">
3049+
3050+ <!-- Chart template -->
3051+
3052+ <record id="ve_chart_template" model="account.chart.template">
3053+ <field name="name">Chart of Accounts - Commercial - VE</field>
3054+ <field name="account_root_id" ref="chart_0"/>
3055+ <field name="tax_code_root_id" ref="vat_code_tax"/>
3056+<!-- impuestos -->
3057+ <field name="bank_account_view_id" ref="chart_1120112001"/>
3058+<!-- estas no pueden ser vistas-->
3059+ <field name="property_account_receivable" ref="chart_11320"/>
3060+ <field name="property_account_payable" ref="chart_21201"/>
3061+ <field name="property_account_expense_categ" ref="chart_51101"/>
3062+ <field name="property_account_income_categ" ref="chart_41110"/>
3063+<!-- retenciones de iva-->
3064+ <field name="property_wh_iva_payable" ref="chart_1160151612"/>
3065+ <field name="property_wh_iva_receivable" ref="chart_2120561412"/>
3066+
3067+ </record>
3068+
3069+ </data>
3070+</openerp>
3071
3072=== added file 'l10n_ve_commerce/account_account.xml.org'
3073--- l10n_ve_commerce/account_account.xml.org 1970-01-01 00:00:00 +0000
3074+++ l10n_ve_commerce/account_account.xml.org 2011-11-16 19:10:24 +0000
3075@@ -0,0 +1,24 @@
3076+<?xml version="1.0"?>
3077+<openerp>
3078+ <data noupdate="1">
3079+
3080+ <!-- Chart template -->
3081+
3082+ <record id="ve_chart_template" model="account.chart.template">
3083+ <field name="name">Chart of Accounts - Commercial - VE</field>
3084+ <field name="account_root_id" ref="chart_0"/>
3085+ <field name="tax_code_root_id" ref="vat_code_tax"/>
3086+<!-- impuestos -->
3087+ <field name="bank_account_view_id" ref="chart_1120112001"/>
3088+ <field name="property_account_receivable" ref="chart_1121010999"/>
3089+ <field name="property_account_payable" ref="chart_2121010999"/>
3090+ <field name="property_account_expense_categ" ref="chart_5124010999"/>
3091+ <field name="property_account_income_categ" ref="chart_4119001999"/>
3092+<!-- retenciones de iva-->
3093+ <field name="property_wh_iva_payable" ref="chart_411900"/>
3094+ <field name="property_wh_iva_receivable" ref="chart_411900"/>
3095+
3096+ </record>
3097+
3098+ </data>
3099+</openerp>
3100
3101=== added file 'l10n_ve_commerce/account_chart.xml'
3102--- l10n_ve_commerce/account_chart.xml 1970-01-01 00:00:00 +0000
3103+++ l10n_ve_commerce/account_chart.xml 2011-11-16 19:10:24 +0000
3104@@ -0,0 +1,5265 @@
3105+<?xml version='1.0' encoding='UTF-8'?>
3106+<openerp>
3107+ <data noupdate="1">
3108+ <record id="chart_0" model="account.account.template">
3109+ <field name="code">0</field>
3110+ <field name="name">Main Account Company</field>
3111+ <field name="type">view</field>
3112+ <field eval="False" name="reconcile"/>
3113+ <field name="user_type" ref="account_type_view"/>
3114+ </record>
3115+ <record id="chart_1" model="account.account.template">
3116+ <field name="code">1</field>
3117+ <field name="name">ACTIVO</field>
3118+ <field name="type">view</field>
3119+ <field eval="False" name="reconcile"/>
3120+ <field name="user_type" ref="account_type_view"/>
3121+ </record>
3122+ <record id="chart_11" model="account.account.template">
3123+ <field name="code">11</field>
3124+ <field name="name">ACTIVO CIRCULANTE</field>
3125+ <field name="type">view</field>
3126+ <field eval="False" name="reconcile"/>
3127+ <field name="user_type" ref="account_type_view"/>
3128+ <field name="parent_id" ref="chart_1"/>
3129+ </record>
3130+ <record id="chart_110" model="account.account.template">
3131+ <field name="code">110</field>
3132+ <field name="name">EFECTIVO EN CAJAS</field>
3133+ <field name="type">view</field>
3134+ <field eval="False" name="reconcile"/>
3135+ <field name="user_type" ref="account_type_view"/>
3136+ <field name="parent_id" ref="chart_11"/>
3137+ </record>
3138+ <record id="chart_11001" model="account.account.template">
3139+ <field name="code">11001</field>
3140+ <field name="name">CAJA GUARENAS</field>
3141+ <field name="type">view</field>
3142+ <field eval="False" name="reconcile"/>
3143+ <field name="user_type" ref="account_type_view"/>
3144+ <field name="parent_id" ref="chart_110"/>
3145+ </record>
3146+ <record id="chart_11002" model="account.account.template">
3147+ <field name="code">11002</field>
3148+ <field name="name">CAJA VARIAS Y TRANSFERENCIAS</field>
3149+ <field name="type">view</field>
3150+ <field eval="False" name="reconcile"/>
3151+ <field name="user_type" ref="account_type_view"/>
3152+ <field name="parent_id" ref="chart_110"/>
3153+ </record>
3154+ <record id="chart_11003" model="account.account.template">
3155+ <field name="code">11003</field>
3156+ <field name="name">CHEQUES EN CAJA</field>
3157+ <field name="type">view</field>
3158+ <field eval="False" name="reconcile"/>
3159+ <field name="user_type" ref="account_type_view"/>
3160+ <field name="parent_id" ref="chart_110"/>
3161+ </record>
3162+ <record id="chart_11004" model="account.account.template">
3163+ <field name="code">11004</field>
3164+ <field name="name">CAJA EN MONEDAS EXTRANJERAS</field>
3165+ <field name="type">view</field>
3166+ <field eval="False" name="reconcile"/>
3167+ <field name="user_type" ref="account_type_view"/>
3168+ <field name="parent_id" ref="chart_110"/>
3169+ </record>
3170+ <record id="chart_11005" model="account.account.template">
3171+ <field name="code">11005</field>
3172+ <field name="name">CAJA TARJ.DE DEBITOS Y/0 CREDITOS</field>
3173+ <field name="type">view</field>
3174+ <field eval="False" name="reconcile"/>
3175+ <field name="user_type" ref="account_type_view"/>
3176+ <field name="parent_id" ref="chart_110"/>
3177+ </record>
3178+ <record id="chart_111" model="account.account.template">
3179+ <field name="code">111</field>
3180+ <field name="name">EFECTIVO EN BANCOS</field>
3181+ <field name="type">view</field>
3182+ <field eval="False" name="reconcile"/>
3183+ <field name="user_type" ref="account_type_view"/>
3184+ <field name="parent_id" ref="chart_11"/>
3185+ </record>
3186+ <record id="chart_11103" model="account.account.template">
3187+ <field name="code">11103</field>
3188+ <field name="name">BANCOS</field>
3189+ <field name="type">view</field>
3190+ <field eval="False" name="reconcile"/>
3191+ <field name="user_type" ref="account_type_view"/>
3192+ <field name="parent_id" ref="chart_111"/>
3193+ </record>
3194+ <record id="chart_1110311001" model="account.account.template">
3195+ <field name="code">1110311001</field>
3196+ <field name="name">BANESCO CTA.Nº 0134-0335-01-335108954</field>
3197+ <field name="type">other</field>
3198+ <field eval="False" name="reconcile"/>
3199+ <field name="user_type" ref="account_type_view"/>
3200+ <field name="parent_id" ref="chart_11103"/>
3201+ </record>
3202+ <record id="chart_1110311005" model="account.account.template">
3203+ <field name="code">1110311005</field>
3204+ <field name="name">BANESCO CTA.Nº 0134-0379-16-3791037094</field>
3205+ <field name="type">other</field>
3206+ <field eval="False" name="reconcile"/>
3207+ <field name="user_type" ref="account_type_view"/>
3208+ <field name="parent_id" ref="chart_11103"/>
3209+ </record>
3210+ <record id="chart_1110311012" model="account.account.template">
3211+ <field name="code">1110311012</field>
3212+ <field name="name">BICENTENARIO CTA.Nº 0158-0026-74-0261076983</field>
3213+ <field name="type">other</field>
3214+ <field eval="False" name="reconcile"/>
3215+ <field name="user_type" ref="account_type_view"/>
3216+ <field name="parent_id" ref="chart_11103"/>
3217+ </record>
3218+ <record id="chart_1110312001" model="account.account.template">
3219+ <field name="code">1110312001</field>
3220+ <field name="name">CORP BANCA CTA.Nº 0134-1501-03-349838</field>
3221+ <field name="type">other</field>
3222+ <field eval="False" name="reconcile"/>
3223+ <field name="user_type" ref="account_type_view"/>
3224+ <field name="parent_id" ref="chart_11103"/>
3225+ </record>
3226+ <record id="chart_1110312002" model="account.account.template">
3227+ <field name="code">1110312002</field>
3228+ <field name="name">CANARIAS CTA.Nº 0005-0100-00-028577</field>
3229+ <field name="type">other</field>
3230+ <field eval="False" name="reconcile"/>
3231+ <field name="user_type" ref="account_type_view"/>
3232+ <field name="parent_id" ref="chart_11103"/>
3233+ </record>
3234+ <record id="chart_1110313001" model="account.account.template">
3235+ <field name="code">1110313001</field>
3236+ <field name="name">EXTERIOR CTA.Nº 0115-0064-14-1001008355</field>
3237+ <field name="type">other</field>
3238+ <field eval="False" name="reconcile"/>
3239+ <field name="user_type" ref="account_type_view"/>
3240+ <field name="parent_id" ref="chart_11103"/>
3241+ </record>
3242+ <record id="chart_1110315001" model="account.account.template">
3243+ <field name="code">1110315001</field>
3244+ <field name="name">FONDO COMUN CTA.Nº 0171754417104751</field>
3245+ <field name="type">other</field>
3246+ <field eval="False" name="reconcile"/>
3247+ <field name="user_type" ref="account_type_view"/>
3248+ <field name="parent_id" ref="chart_11103"/>
3249+ </record>
3250+ <record id="chart_1110322001" model="account.account.template">
3251+ <field name="code">1110322001</field>
3252+ <field name="name">MERCANTIL CTA.Nº 0029091029211779</field>
3253+ <field name="type">other</field>
3254+ <field eval="False" name="reconcile"/>
3255+ <field name="user_type" ref="account_type_view"/>
3256+ <field name="parent_id" ref="chart_11103"/>
3257+ </record>
3258+ <record id="chart_1110326001" model="account.account.template">
3259+ <field name="code">1110326001</field>
3260+ <field name="name">PROVINCIAL CTA.Nº 0112500100000481</field>
3261+ <field name="type">other</field>
3262+ <field eval="False" name="reconcile"/>
3263+ <field name="user_type" ref="account_type_view"/>
3264+ <field name="parent_id" ref="chart_11103"/>
3265+ </record>
3266+ <record id="chart_1110326002" model="account.account.template">
3267+ <field name="code">1110326002</field>
3268+ <field name="name">PLAZA CTA.Nº 0005780050221663</field>
3269+ <field name="type">other</field>
3270+ <field eval="False" name="reconcile"/>
3271+ <field name="user_type" ref="account_type_view"/>
3272+ <field name="parent_id" ref="chart_11103"/>
3273+ </record>
3274+ <record id="chart_1110332001" model="account.account.template">
3275+ <field name="code">1110332001</field>
3276+ <field name="name">V.DE CREDITO CTA.Nº 0021030210003843</field>
3277+ <field name="type">other</field>
3278+ <field eval="False" name="reconcile"/>
3279+ <field name="user_type" ref="account_type_view"/>
3280+ <field name="parent_id" ref="chart_11103"/>
3281+ </record>
3282+ <record id="chart_1110332002" model="account.account.template">
3283+ <field name="code">1110332002</field>
3284+ <field name="name">VENEZUELA CTA.Nº 0279510000029751</field>
3285+ <field name="type">other</field>
3286+ <field eval="False" name="reconcile"/>
3287+ <field name="user_type" ref="account_type_view"/>
3288+ <field name="parent_id" ref="chart_11103"/>
3289+ </record>
3290+ <record id="chart_1110332003" model="account.account.template">
3291+ <field name="code">1110332003</field>
3292+ <field name="name">VENEZUELA CTA.Nº 0233760000064266</field>
3293+ <field name="type">other</field>
3294+ <field eval="False" name="reconcile"/>
3295+ <field name="user_type" ref="account_type_view"/>
3296+ <field name="parent_id" ref="chart_11103"/>
3297+ </record>
3298+ <record id="chart_11104" model="account.account.template">
3299+ <field name="code">11104</field>
3300+ <field name="name">FONDOS EN MONEDAS EXTRANJERAS</field>
3301+ <field name="type">view</field>
3302+ <field eval="False" name="reconcile"/>
3303+ <field name="user_type" ref="account_type_view"/>
3304+ <field name="parent_id" ref="chart_111"/>
3305+ </record>
3306+ <record id="chart_1110411030" model="account.account.template">
3307+ <field name="code">1110411030</field>
3308+ <field name="name">BISCAYNE BANK, N.A CTA.Nº 1020673 DOLAR</field>
3309+ <field name="type">other</field>
3310+ <field eval="False" name="reconcile"/>
3311+ <field name="user_type" ref="account_type_view"/>
3312+ <field name="parent_id" ref="chart_11104"/>
3313+ </record>
3314+ <record id="chart_1110412001" model="account.account.template">
3315+ <field name="code">1110412001</field>
3316+ <field name="name">CORP BANCA CTA.Nº 3228258 DOLAR</field>
3317+ <field name="type">other</field>
3318+ <field eval="False" name="reconcile"/>
3319+ <field name="user_type" ref="account_type_view"/>
3320+ <field name="parent_id" ref="chart_11104"/>
3321+ </record>
3322+ <record id="chart_1110412003" model="account.account.template">
3323+ <field name="code">1110412003</field>
3324+ <field name="name">CORP BANCA CTA.Nº 4000360 EUROS</field>
3325+ <field name="type">other</field>
3326+ <field eval="False" name="reconcile"/>
3327+ <field name="user_type" ref="account_type_view"/>
3328+ <field name="parent_id" ref="chart_11104"/>
3329+ </record>
3330+ <record id="chart_1110417001" model="account.account.template">
3331+ <field name="code">1110417001</field>
3332+ <field name="name">HSBC CTA.Nº 0605151032 DOLAR</field>
3333+ <field name="type">other</field>
3334+ <field eval="False" name="reconcile"/>
3335+ <field name="user_type" ref="account_type_view"/>
3336+ <field name="parent_id" ref="chart_11104"/>
3337+ </record>
3338+ <record id="chart_1110417002" model="account.account.template">
3339+ <field name="code">1110417002</field>
3340+ <field name="name">HSBC CTA.Nº 0337285767 DOLAR</field>
3341+ <field name="type">other</field>
3342+ <field eval="False" name="reconcile"/>
3343+ <field name="user_type" ref="account_type_view"/>
3344+ <field name="parent_id" ref="chart_11104"/>
3345+ </record>
3346+ <record id="chart_1110425001" model="account.account.template">
3347+ <field name="code">1110425001</field>
3348+ <field name="name">BANCO DEL ORINOCO N.V.$ CTA.Nº 400174</field>
3349+ <field name="type">other</field>
3350+ <field eval="False" name="reconcile"/>
3351+ <field name="user_type" ref="account_type_view"/>
3352+ <field name="parent_id" ref="chart_11104"/>
3353+ </record>
3354+ <record id="chart_1110425002" model="account.account.template">
3355+ <field name="code">1110425002</field>
3356+ <field name="name">BANCO DEL ORINOCO N.V. € CTA.Nº 205885</field>
3357+ <field name="type">other</field>
3358+ <field eval="False" name="reconcile"/>
3359+ <field name="user_type" ref="account_type_view"/>
3360+ <field name="parent_id" ref="chart_11104"/>
3361+ </record>
3362+ <record id="chart_112" model="account.account.template">
3363+ <field name="code">112</field>
3364+ <field name="name">INVERSIONES TEMPORALES (PLAZO FIJO)</field>
3365+ <field name="type">view</field>
3366+ <field eval="False" name="reconcile"/>
3367+ <field name="user_type" ref="account_type_view"/>
3368+ <field name="parent_id" ref="chart_11"/>
3369+ </record>
3370+ <record id="chart_11201" model="account.account.template">
3371+ <field name="code">11201</field>
3372+ <field name="name">FONDOS DE ACTIVOS LIQUIDOS</field>
3373+ <field name="type">view</field>
3374+ <field eval="False" name="reconcile"/>
3375+ <field name="user_type" ref="account_type_view"/>
3376+ <field name="parent_id" ref="chart_112"/>
3377+ </record>
3378+ <record id="chart_1120112001" model="account.account.template">
3379+ <field name="code">1120112001</field>
3380+ <field name="name">CORP BANCA CTA.Nº 0134100300017479</field>
3381+ <field name="type">other</field>
3382+ <field eval="False" name="reconcile"/>
3383+ <field name="user_type" ref="account_type_view"/>
3384+ <field name="parent_id" ref="chart_11201"/>
3385+ </record>
3386+ <record id="chart_1120112002" model="account.account.template">
3387+ <field name="code">1120112002</field>
3388+ <field name="name">CANARIAS CTA.Nº 0005009020031113</field>
3389+ <field name="type">other</field>
3390+ <field eval="False" name="reconcile"/>
3391+ <field name="user_type" ref="account_type_view"/>
3392+ <field name="parent_id" ref="chart_11201"/>
3393+ </record>
3394+ <record id="chart_11202" model="account.account.template">
3395+ <field name="code">11202</field>
3396+ <field name="name">DEPOSITO PLAZO FIJO</field>
3397+ <field name="type">view</field>
3398+ <field eval="False" name="reconcile"/>
3399+ <field name="user_type" ref="account_type_view"/>
3400+ <field name="parent_id" ref="chart_112"/>
3401+ </record>
3402+ <record id="chart_11204" model="account.account.template">
3403+ <field name="code">11204</field>
3404+ <field name="name">DEPOSITO PLAZO FIJO MONEDAS EXTRANJERAS</field>
3405+ <field name="type">view</field>
3406+ <field eval="False" name="reconcile"/>
3407+ <field name="user_type" ref="account_type_view"/>
3408+ <field name="parent_id" ref="chart_112"/>
3409+ </record>
3410+ <record id="chart_1120417002" model="account.account.template">
3411+ <field name="code">1120417002</field>
3412+ <field name="name">DEPOSITO PLAZO FIJO HSBC.</field>
3413+ <field name="type">other</field>
3414+ <field eval="False" name="reconcile"/>
3415+ <field name="user_type" ref="account_type_view"/>
3416+ <field name="parent_id" ref="chart_11204"/>
3417+ </record>
3418+ <record id="chart_11211" model="account.account.template">
3419+ <field name="code">11211</field>
3420+ <field name="name">TITULOS DEUDA PUBLICA NACIONAL</field>
3421+ <field name="type">view</field>
3422+ <field eval="False" name="reconcile"/>
3423+ <field name="user_type" ref="account_type_view"/>
3424+ <field name="parent_id" ref="chart_112"/>
3425+ </record>
3426+ <record id="chart_11212" model="account.account.template">
3427+ <field name="code">11212</field>
3428+ <field name="name">TITULOS POR SITME (SIST.TRANS.TITULOS MON.EXT)</field>
3429+ <field name="type">view</field>
3430+ <field eval="False" name="reconcile"/>
3431+ <field name="user_type" ref="account_type_view"/>
3432+ <field name="parent_id" ref="chart_112"/>
3433+ </record>
3434+ <record id="chart_113" model="account.account.template">
3435+ <field name="code">113</field>
3436+ <field name="name">EXIGIBLES</field>
3437+ <field name="type">view</field>
3438+ <field eval="False" name="reconcile"/>
3439+ <field name="user_type" ref="account_type_view"/>
3440+ <field name="parent_id" ref="chart_11"/>
3441+ </record>
3442+ <record id="chart_11301" model="account.account.template">
3443+ <field name="code">11301</field>
3444+ <field name="name">EFECTOS POR COBRAR</field>
3445+ <field name="type">view</field>
3446+ <field eval="False" name="reconcile"/>
3447+ <field name="user_type" ref="account_type_view"/>
3448+ <field name="parent_id" ref="chart_113"/>
3449+ </record>
3450+ <record id="chart_11315" model="account.account.template">
3451+ <field name="code">11315</field>
3452+ <field name="name">EFECTOS POR COBRAR DESCONTADO</field>
3453+ <field name="type">view</field>
3454+ <field eval="False" name="reconcile"/>
3455+ <field name="user_type" ref="account_type_view"/>
3456+ <field name="parent_id" ref="chart_113"/>
3457+ </record>
3458+ <record id="chart_11320" model="account.account.template">
3459+ <field name="code">11320</field>
3460+ <field name="name">CUENTAS POR COBRAR COMERCIALES</field>
3461+ <field name="type">other</field>
3462+ <field eval="False" name="reconcile"/>
3463+ <field name="user_type" ref="account_type_view"/>
3464+ <field name="parent_id" ref="chart_113"/>
3465+ </record>
3466+ <record id="chart_11321" model="account.account.template">
3467+ <field name="code">11321</field>
3468+ <field name="name">CUENTAS POR COBRAR EMPRESAS RELACIONADAS</field>
3469+ <field name="type">view</field>
3470+ <field eval="False" name="reconcile"/>
3471+ <field name="user_type" ref="account_type_view"/>
3472+ <field name="parent_id" ref="chart_113"/>
3473+ </record>
3474+ <record id="chart_1132113121" model="account.account.template">
3475+ <field name="code">1132113121</field>
3476+ <field name="name">DISTRIBUIDORA ACROPOLIS, C.A.</field>
3477+ <field name="type">other</field>
3478+ <field eval="False" name="reconcile"/>
3479+ <field name="user_type" ref="account_type_view"/>
3480+ <field name="parent_id" ref="chart_11321"/>
3481+ </record>
3482+ <record id="chart_1132113132" model="account.account.template">
3483+ <field name="code">1132113132</field>
3484+ <field name="name">DISTRIBUIDORA ACROPOL.GUAYANA,C.A.</field>
3485+ <field name="type">other</field>
3486+ <field eval="False" name="reconcile"/>
3487+ <field name="user_type" ref="account_type_view"/>
3488+ <field name="parent_id" ref="chart_11321"/>
3489+ </record>
3490+ <record id="chart_1132113133" model="account.account.template">
3491+ <field name="code">1132113133</field>
3492+ <field name="name">REVESTIMIENTO DACROPOLIS,C.A.</field>
3493+ <field name="type">other</field>
3494+ <field eval="False" name="reconcile"/>
3495+ <field name="user_type" ref="account_type_view"/>
3496+ <field name="parent_id" ref="chart_11321"/>
3497+ </record>
3498+ <record id="chart_1132113134" model="account.account.template">
3499+ <field name="code">1132113134</field>
3500+ <field name="name">DISTRIBUIDORA ACROPOL.MONAGAS,C.A.</field>
3501+ <field name="type">other</field>
3502+ <field eval="False" name="reconcile"/>
3503+ <field name="user_type" ref="account_type_view"/>
3504+ <field name="parent_id" ref="chart_11321"/>
3505+ </record>
3506+ <record id="chart_1132113135" model="account.account.template">
3507+ <field name="code">1132113135</field>
3508+ <field name="name">DISTRIBUIDORA ACROP. MARACAY, C.A.</field>
3509+ <field name="type">other</field>
3510+ <field eval="False" name="reconcile"/>
3511+ <field name="user_type" ref="account_type_view"/>
3512+ <field name="parent_id" ref="chart_11321"/>
3513+ </record>
3514+ <record id="chart_1132113177" model="account.account.template">
3515+ <field name="code">1132113177</field>
3516+ <field name="name">DISTRIB.ACROPOLIS BARQUISIMETO, C.A.</field>
3517+ <field name="type">other</field>
3518+ <field eval="False" name="reconcile"/>
3519+ <field name="user_type" ref="account_type_view"/>
3520+ <field name="parent_id" ref="chart_11321"/>
3521+ </record>
3522+ <record id="chart_1132113178" model="account.account.template">
3523+ <field name="code">1132113178</field>
3524+ <field name="name">DISTRIB.ACROPOLIS MARACAIBO, C.A.</field>
3525+ <field name="type">other</field>
3526+ <field eval="False" name="reconcile"/>
3527+ <field name="user_type" ref="account_type_view"/>
3528+ <field name="parent_id" ref="chart_11321"/>
3529+ </record>
3530+ <record id="chart_1132113180" model="account.account.template">
3531+ <field name="code">1132113180</field>
3532+ <field name="name">DISTRIBUIDORA ACROPOLIS FALCON, C.A.</field>
3533+ <field name="type">other</field>
3534+ <field eval="False" name="reconcile"/>
3535+ <field name="user_type" ref="account_type_view"/>
3536+ <field name="parent_id" ref="chart_11321"/>
3537+ </record>
3538+ <record id="chart_1132114005" model="account.account.template">
3539+ <field name="code">1132114005</field>
3540+ <field name="name">EXPLOTACION PIEDRAS DE GUAYANA, C.A.</field>
3541+ <field name="type">other</field>
3542+ <field eval="False" name="reconcile"/>
3543+ <field name="user_type" ref="account_type_view"/>
3544+ <field name="parent_id" ref="chart_11321"/>
3545+ </record>
3546+ <record id="chart_11330" model="account.account.template">
3547+ <field name="code">11330</field>
3548+ <field name="name">CUENTAS POR COBRAR AL EXTERIOR</field>
3549+ <field name="type">view</field>
3550+ <field eval="False" name="reconcile"/>
3551+ <field name="user_type" ref="account_type_view"/>
3552+ <field name="parent_id" ref="chart_113"/>
3553+ </record>
3554+ <record id="chart_11390" model="account.account.template">
3555+ <field name="code">11390</field>
3556+ <field name="name">PROVISION PARA CUENTAS INCOBRABLES</field>
3557+ <field name="type">view</field>
3558+ <field eval="False" name="reconcile"/>
3559+ <field name="user_type" ref="account_type_view"/>
3560+ <field name="parent_id" ref="chart_113"/>
3561+ </record>
3562+ <record id="chart_114" model="account.account.template">
3563+ <field name="code">114</field>
3564+ <field name="name">OTRAS CUENTAS POR COBRAR</field>
3565+ <field name="type">view</field>
3566+ <field eval="False" name="reconcile"/>
3567+ <field name="user_type" ref="account_type_view"/>
3568+ <field name="parent_id" ref="chart_11"/>
3569+ </record>
3570+ <record id="chart_11401" model="account.account.template">
3571+ <field name="code">11401</field>
3572+ <field name="name">CUENTAS POR COBRAR DIRECTORES Y ACCIONISTAS</field>
3573+ <field name="type">view</field>
3574+ <field eval="False" name="reconcile"/>
3575+ <field name="user_type" ref="account_type_view"/>
3576+ <field name="parent_id" ref="chart_114"/>
3577+ </record>
3578+ <record id="chart_1140128002" model="account.account.template">
3579+ <field name="code">1140128002</field>
3580+ <field name="name">RUSCINO GOFFREDO</field>
3581+ <field name="type">other</field>
3582+ <field eval="False" name="reconcile"/>
3583+ <field name="user_type" ref="account_type_view"/>
3584+ <field name="parent_id" ref="chart_11401"/>
3585+ </record>
3586+ <record id="chart_1140128003" model="account.account.template">
3587+ <field name="code">1140128003</field>
3588+ <field name="name">RUSCINO MIGUEL</field>
3589+ <field name="type">other</field>
3590+ <field eval="False" name="reconcile"/>
3591+ <field name="user_type" ref="account_type_view"/>
3592+ <field name="parent_id" ref="chart_11401"/>
3593+ </record>
3594+ <record id="chart_1140132001" model="account.account.template">
3595+ <field name="code">1140132001</field>
3596+ <field name="name">VISICCHIO ROBERTO</field>
3597+ <field name="type">other</field>
3598+ <field eval="False" name="reconcile"/>
3599+ <field name="user_type" ref="account_type_view"/>
3600+ <field name="parent_id" ref="chart_11401"/>
3601+ </record>
3602+ <record id="chart_1140132003" model="account.account.template">
3603+ <field name="code">1140132003</field>
3604+ <field name="name">VISICCHIO SILVANA</field>
3605+ <field name="type">other</field>
3606+ <field eval="False" name="reconcile"/>
3607+ <field name="user_type" ref="account_type_view"/>
3608+ <field name="parent_id" ref="chart_11401"/>
3609+ </record>
3610+ <record id="chart_1140132004" model="account.account.template">
3611+ <field name="code">1140132004</field>
3612+ <field name="name">VISICCHIO ALBERTO</field>
3613+ <field name="type">other</field>
3614+ <field eval="False" name="reconcile"/>
3615+ <field name="user_type" ref="account_type_view"/>
3616+ <field name="parent_id" ref="chart_11401"/>
3617+ </record>
3618+ <record id="chart_1140132005" model="account.account.template">
3619+ <field name="code">1140132005</field>
3620+ <field name="name">VISICCHIO RITA</field>
3621+ <field name="type">other</field>
3622+ <field eval="False" name="reconcile"/>
3623+ <field name="user_type" ref="account_type_view"/>
3624+ <field name="parent_id" ref="chart_11401"/>
3625+ </record>
3626+ <record id="chart_1140132006" model="account.account.template">
3627+ <field name="code">1140132006</field>
3628+ <field name="name">VISICCHIO GIANCARLOS</field>
3629+ <field name="type">other</field>
3630+ <field eval="False" name="reconcile"/>
3631+ <field name="user_type" ref="account_type_view"/>
3632+ <field name="parent_id" ref="chart_11401"/>
3633+ </record>
3634+ <record id="chart_11402" model="account.account.template">
3635+ <field name="code">11402</field>
3636+ <field name="name">CUENTAS POR COBRAR EMPRESAS FILIALES</field>
3637+ <field name="type">view</field>
3638+ <field eval="False" name="reconcile"/>
3639+ <field name="user_type" ref="account_type_view"/>
3640+ <field name="parent_id" ref="chart_114"/>
3641+ </record>
3642+ <record id="chart_11403" model="account.account.template">
3643+ <field name="code">11403</field>
3644+ <field name="name">PRESTAMOS A EMPRESAS RELACIONADAS</field>
3645+ <field name="type">view</field>
3646+ <field eval="False" name="reconcile"/>
3647+ <field name="user_type" ref="account_type_view"/>
3648+ <field name="parent_id" ref="chart_114"/>
3649+ </record>
3650+ <record id="chart_1140313121" model="account.account.template">
3651+ <field name="code">1140313121</field>
3652+ <field name="name">DISTRIBUIDORA ACROPOLIS, C.A.</field>
3653+ <field name="type">other</field>
3654+ <field eval="False" name="reconcile"/>
3655+ <field name="user_type" ref="account_type_view"/>
3656+ <field name="parent_id" ref="chart_11403"/>
3657+ </record>
3658+ <record id="chart_1140313132" model="account.account.template">
3659+ <field name="code">1140313132</field>
3660+ <field name="name">DISTRIBUIDORA ACROPOLIS GUAYANA</field>
3661+ <field name="type">other</field>
3662+ <field eval="False" name="reconcile"/>
3663+ <field name="user_type" ref="account_type_view"/>
3664+ <field name="parent_id" ref="chart_11403"/>
3665+ </record>
3666+ <record id="chart_1140313133" model="account.account.template">
3667+ <field name="code">1140313133</field>
3668+ <field name="name">REVESTIMIENTO DACROPOLIS, C.A.</field>
3669+ <field name="type">other</field>
3670+ <field eval="False" name="reconcile"/>
3671+ <field name="user_type" ref="account_type_view"/>
3672+ <field name="parent_id" ref="chart_11403"/>
3673+ </record>
3674+ <record id="chart_1140313134" model="account.account.template">
3675+ <field name="code">1140313134</field>
3676+ <field name="name">DISTRIBUID.ACROPOLIS MONAGAS, C.A.</field>
3677+ <field name="type">other</field>
3678+ <field eval="False" name="reconcile"/>
3679+ <field name="user_type" ref="account_type_view"/>
3680+ <field name="parent_id" ref="chart_11403"/>
3681+ </record>
3682+ <record id="chart_1140313135" model="account.account.template">
3683+ <field name="code">1140313135</field>
3684+ <field name="name">DISTRIBUID.ACROPOLIS MARACAY, C.A.</field>
3685+ <field name="type">other</field>
3686+ <field eval="False" name="reconcile"/>
3687+ <field name="user_type" ref="account_type_view"/>
3688+ <field name="parent_id" ref="chart_11403"/>
3689+ </record>
3690+ <record id="chart_1140313177" model="account.account.template">
3691+ <field name="code">1140313177</field>
3692+ <field name="name">DISTRIB.ACROPOLIS BARQUISIMETO, C.A.</field>
3693+ <field name="type">other</field>
3694+ <field eval="False" name="reconcile"/>
3695+ <field name="user_type" ref="account_type_view"/>
3696+ <field name="parent_id" ref="chart_11403"/>
3697+ </record>
3698+ <record id="chart_1140313178" model="account.account.template">
3699+ <field name="code">1140313178</field>
3700+ <field name="name">DISTRIB.ACROPOLIS MARACAIBO, C.A.</field>
3701+ <field name="type">other</field>
3702+ <field eval="False" name="reconcile"/>
3703+ <field name="user_type" ref="account_type_view"/>
3704+ <field name="parent_id" ref="chart_11403"/>
3705+ </record>
3706+ <record id="chart_1140313179" model="account.account.template">
3707+ <field name="code">1140313179</field>
3708+ <field name="name">DISTRIB.ACROPOLIS SAN CRISTOBAL, C.A.</field>
3709+ <field name="type">other</field>
3710+ <field eval="False" name="reconcile"/>
3711+ <field name="user_type" ref="account_type_view"/>
3712+ <field name="parent_id" ref="chart_11403"/>
3713+ </record>
3714+ <record id="chart_1140313180" model="account.account.template">
3715+ <field name="code">1140313180</field>
3716+ <field name="name">DISTRIBUIDORA ACROPOLIS FALCON, C.A.</field>
3717+ <field name="type">other</field>
3718+ <field eval="False" name="reconcile"/>
3719+ <field name="user_type" ref="account_type_view"/>
3720+ <field name="parent_id" ref="chart_11403"/>
3721+ </record>
3722+ <record id="chart_1140314005" model="account.account.template">
3723+ <field name="code">1140314005</field>
3724+ <field name="name">EXPLOTACION PIEDRAS DE GUAYANA, C.A.</field>
3725+ <field name="type">other</field>
3726+ <field eval="False" name="reconcile"/>
3727+ <field name="user_type" ref="account_type_view"/>
3728+ <field name="parent_id" ref="chart_11403"/>
3729+ </record>
3730+ <record id="chart_11404" model="account.account.template">
3731+ <field name="code">11404</field>
3732+ <field name="name">CUENTAS POR COBRAR EMPLEADOS</field>
3733+ <field name="type">view</field>
3734+ <field eval="False" name="reconcile"/>
3735+ <field name="user_type" ref="account_type_view"/>
3736+ <field name="parent_id" ref="chart_114"/>
3737+ </record>
3738+ <record id="chart_1140410001" model="account.account.template">
3739+ <field name="code">1140410001</field>
3740+ <field name="name">ARBELO JESUS</field>
3741+ <field name="type">other</field>
3742+ <field eval="False" name="reconcile"/>
3743+ <field name="user_type" ref="account_type_view"/>
3744+ <field name="parent_id" ref="chart_11404"/>
3745+ </record>
3746+ <record id="chart_1140422002" model="account.account.template">
3747+ <field name="code">1140422002</field>
3748+ <field name="name">MILLAN AIDEE</field>
3749+ <field name="type">other</field>
3750+ <field eval="False" name="reconcile"/>
3751+ <field name="user_type" ref="account_type_view"/>
3752+ <field name="parent_id" ref="chart_11404"/>
3753+ </record>
3754+ <record id="chart_1140426001" model="account.account.template">
3755+ <field name="code">1140426001</field>
3756+ <field name="name">PEARSON ANTONIO</field>
3757+ <field name="type">other</field>
3758+ <field eval="False" name="reconcile"/>
3759+ <field name="user_type" ref="account_type_view"/>
3760+ <field name="parent_id" ref="chart_11404"/>
3761+ </record>
3762+ <record id="chart_1140426002" model="account.account.template">
3763+ <field name="code">1140426002</field>
3764+ <field name="name">PADOVANI ROBERT</field>
3765+ <field name="type">other</field>
3766+ <field eval="False" name="reconcile"/>
3767+ <field name="user_type" ref="account_type_view"/>
3768+ <field name="parent_id" ref="chart_11404"/>
3769+ </record>
3770+ <record id="chart_1140426003" model="account.account.template">
3771+ <field name="code">1140426003</field>
3772+ <field name="name">PALACIOS BLASINA</field>
3773+ <field name="type">other</field>
3774+ <field eval="False" name="reconcile"/>
3775+ <field name="user_type" ref="account_type_view"/>
3776+ <field name="parent_id" ref="chart_11404"/>
3777+ </record>
3778+ <record id="chart_1140428001" model="account.account.template">
3779+ <field name="code">1140428001</field>
3780+ <field name="name">RAMOS ODALYS</field>
3781+ <field name="type">other</field>
3782+ <field eval="False" name="reconcile"/>
3783+ <field name="user_type" ref="account_type_view"/>
3784+ <field name="parent_id" ref="chart_11404"/>
3785+ </record>
3786+ <record id="chart_1140429008" model="account.account.template">
3787+ <field name="code">1140429008</field>
3788+ <field name="name">SOTO P. DINA C.</field>
3789+ <field name="type">other</field>
3790+ <field eval="False" name="reconcile"/>
3791+ <field name="user_type" ref="account_type_view"/>
3792+ <field name="parent_id" ref="chart_11404"/>
3793+ </record>
3794+ <record id="chart_1140429009" model="account.account.template">
3795+ <field name="code">1140429009</field>
3796+ <field name="name">MARQUEZ JUAN</field>
3797+ <field name="type">other</field>
3798+ <field eval="False" name="reconcile"/>
3799+ <field name="user_type" ref="account_type_view"/>
3800+ <field name="parent_id" ref="chart_11404"/>
3801+ </record>
3802+ <record id="chart_1140429010" model="account.account.template">
3803+ <field name="code">1140429010</field>
3804+ <field name="name">FERNANDEZ DE CUEVAS ELIZABETH</field>
3805+ <field name="type">other</field>
3806+ <field eval="False" name="reconcile"/>
3807+ <field name="user_type" ref="account_type_view"/>
3808+ <field name="parent_id" ref="chart_11404"/>
3809+ </record>
3810+ <record id="chart_1140429011" model="account.account.template">
3811+ <field name="code">1140429011</field>
3812+ <field name="name">SILVA JEREYS</field>
3813+ <field name="type">other</field>
3814+ <field eval="False" name="reconcile"/>
3815+ <field name="user_type" ref="account_type_view"/>
3816+ <field name="parent_id" ref="chart_11404"/>
3817+ </record>
3818+ <record id="chart_1140429012" model="account.account.template">
3819+ <field name="code">1140429012</field>
3820+ <field name="name">TRUJILLO BIVINA</field>
3821+ <field name="type">other</field>
3822+ <field eval="False" name="reconcile"/>
3823+ <field name="user_type" ref="account_type_view"/>
3824+ <field name="parent_id" ref="chart_11404"/>
3825+ </record>
3826+ <record id="chart_1140429013" model="account.account.template">
3827+ <field name="code">1140429013</field>
3828+ <field name="name">ANGULO KAREN</field>
3829+ <field name="type">other</field>
3830+ <field eval="False" name="reconcile"/>
3831+ <field name="user_type" ref="account_type_view"/>
3832+ <field name="parent_id" ref="chart_11404"/>
3833+ </record>
3834+ <record id="chart_1140429014" model="account.account.template">
3835+ <field name="code">1140429014</field>
3836+ <field name="name">PEREZ AIRAM</field>
3837+ <field name="type">other</field>
3838+ <field eval="False" name="reconcile"/>
3839+ <field name="user_type" ref="account_type_view"/>
3840+ <field name="parent_id" ref="chart_11404"/>
3841+ </record>
3842+ <record id="chart_1140429015" model="account.account.template">
3843+ <field name="code">1140429015</field>
3844+ <field name="name">PEREZ ADRIANA</field>
3845+ <field name="type">other</field>
3846+ <field eval="False" name="reconcile"/>
3847+ <field name="user_type" ref="account_type_view"/>
3848+ <field name="parent_id" ref="chart_11404"/>
3849+ </record>
3850+ <record id="chart_1140429016" model="account.account.template">
3851+ <field name="code">1140429016</field>
3852+ <field name="name">BIASETTI DIANNA</field>
3853+ <field name="type">other</field>
3854+ <field eval="False" name="reconcile"/>
3855+ <field name="user_type" ref="account_type_view"/>
3856+ <field name="parent_id" ref="chart_11404"/>
3857+ </record>
3858+ <record id="chart_1140429017" model="account.account.template">
3859+ <field name="code">1140429017</field>
3860+ <field name="name">BERNABEU ADRIANA</field>
3861+ <field name="type">other</field>
3862+ <field eval="False" name="reconcile"/>
3863+ <field name="user_type" ref="account_type_view"/>
3864+ <field name="parent_id" ref="chart_11404"/>
3865+ </record>
3866+ <record id="chart_1140499999" model="account.account.template">
3867+ <field name="code">1140499999</field>
3868+ <field name="name">CUENTAS POR COBRAR VARIAS</field>
3869+ <field name="type">other</field>
3870+ <field eval="False" name="reconcile"/>
3871+ <field name="user_type" ref="account_type_view"/>
3872+ <field name="parent_id" ref="chart_11404"/>
3873+ </record>
3874+ <record id="chart_11405" model="account.account.template">
3875+ <field name="code">11405</field>
3876+ <field name="name">CUENTAS POR COBRAR OBREROS</field>
3877+ <field name="type">view</field>
3878+ <field eval="False" name="reconcile"/>
3879+ <field name="user_type" ref="account_type_view"/>
3880+ <field name="parent_id" ref="chart_114"/>
3881+ </record>
3882+ <record id="chart_1140510016" model="account.account.template">
3883+ <field name="code">1140510016</field>
3884+ <field name="name">ANTOIMA ANGEL</field>
3885+ <field name="type">other</field>
3886+ <field eval="False" name="reconcile"/>
3887+ <field name="user_type" ref="account_type_view"/>
3888+ <field name="parent_id" ref="chart_11405"/>
3889+ </record>
3890+ <record id="chart_1140510040" model="account.account.template">
3891+ <field name="code">1140510040</field>
3892+ <field name="name">ARAUJO JOSE DAVID</field>
3893+ <field name="type">other</field>
3894+ <field eval="False" name="reconcile"/>
3895+ <field name="user_type" ref="account_type_view"/>
3896+ <field name="parent_id" ref="chart_11405"/>
3897+ </record>
3898+ <record id="chart_1140511001" model="account.account.template">
3899+ <field name="code">1140511001</field>
3900+ <field name="name">BARRIOS NAVAS ABRANHAN</field>
3901+ <field name="type">other</field>
3902+ <field eval="False" name="reconcile"/>
3903+ <field name="user_type" ref="account_type_view"/>
3904+ <field name="parent_id" ref="chart_11405"/>
3905+ </record>
3906+ <record id="chart_1140512005" model="account.account.template">
3907+ <field name="code">1140512005</field>
3908+ <field name="name">CEBALLOS RONALD JOSE</field>
3909+ <field name="type">other</field>
3910+ <field eval="False" name="reconcile"/>
3911+ <field name="user_type" ref="account_type_view"/>
3912+ <field name="parent_id" ref="chart_11405"/>
3913+ </record>
3914+ <record id="chart_1140512006" model="account.account.template">
3915+ <field name="code">1140512006</field>
3916+ <field name="name">CONTRERAS ORELLANO JOSE SANTOS</field>
3917+ <field name="type">other</field>
3918+ <field eval="False" name="reconcile"/>
3919+ <field name="user_type" ref="account_type_view"/>
3920+ <field name="parent_id" ref="chart_11405"/>
3921+ </record>
3922+ <record id="chart_1140512040" model="account.account.template">
3923+ <field name="code">1140512040</field>
3924+ <field name="name">COLMENARES A. ERICK M.</field>
3925+ <field name="type">other</field>
3926+ <field eval="False" name="reconcile"/>
3927+ <field name="user_type" ref="account_type_view"/>
3928+ <field name="parent_id" ref="chart_11405"/>
3929+ </record>
3930+ <record id="chart_1140513015" model="account.account.template">
3931+ <field name="code">1140513015</field>
3932+ <field name="name">DURAN R. FREDDY E.</field>
3933+ <field name="type">other</field>
3934+ <field eval="False" name="reconcile"/>
3935+ <field name="user_type" ref="account_type_view"/>
3936+ <field name="parent_id" ref="chart_11405"/>
3937+ </record>
3938+ <record id="chart_1140514005" model="account.account.template">
3939+ <field name="code">1140514005</field>
3940+ <field name="name">ESPINOZA JUAN E.</field>
3941+ <field name="type">other</field>
3942+ <field eval="False" name="reconcile"/>
3943+ <field name="user_type" ref="account_type_view"/>
3944+ <field name="parent_id" ref="chart_11405"/>
3945+ </record>
3946+ <record id="chart_1140514006" model="account.account.template">
3947+ <field name="code">1140514006</field>
3948+ <field name="name">ESCALANTE JOSE GREGORIO</field>
3949+ <field name="type">other</field>
3950+ <field eval="False" name="reconcile"/>
3951+ <field name="user_type" ref="account_type_view"/>
3952+ <field name="parent_id" ref="chart_11405"/>
3953+ </record>
3954+ <record id="chart_1140516001" model="account.account.template">
3955+ <field name="code">1140516001</field>
3956+ <field name="name">GOMEZ MORENO JUNIOR</field>
3957+ <field name="type">other</field>
3958+ <field eval="False" name="reconcile"/>
3959+ <field name="user_type" ref="account_type_view"/>
3960+ <field name="parent_id" ref="chart_11405"/>
3961+ </record>
3962+ <record id="chart_1140516002" model="account.account.template">
3963+ <field name="code">1140516002</field>
3964+ <field name="name">GUTIERREZ LUIS</field>
3965+ <field name="type">other</field>
3966+ <field eval="False" name="reconcile"/>
3967+ <field name="user_type" ref="account_type_view"/>
3968+ <field name="parent_id" ref="chart_11405"/>
3969+ </record>
3970+ <record id="chart_1140516003" model="account.account.template">
3971+ <field name="code">1140516003</field>
3972+ <field name="name">GONZALEZ HERNAN</field>
3973+ <field name="type">other</field>
3974+ <field eval="False" name="reconcile"/>
3975+ <field name="user_type" ref="account_type_view"/>
3976+ <field name="parent_id" ref="chart_11405"/>
3977+ </record>
3978+ <record id="chart_1140516004" model="account.account.template">
3979+ <field name="code">1140516004</field>
3980+ <field name="name">GONZALEZ JUNIOR</field>
3981+ <field name="type">other</field>
3982+ <field eval="False" name="reconcile"/>
3983+ <field name="user_type" ref="account_type_view"/>
3984+ <field name="parent_id" ref="chart_11405"/>
3985+ </record>
3986+ <record id="chart_1140516005" model="account.account.template">
3987+ <field name="code">1140516005</field>
3988+ <field name="name">GONZALEZ CANDELARIO</field>
3989+ <field name="type">other</field>
3990+ <field eval="False" name="reconcile"/>
3991+ <field name="user_type" ref="account_type_view"/>
3992+ <field name="parent_id" ref="chart_11405"/>
3993+ </record>
3994+ <record id="chart_1140516012" model="account.account.template">
3995+ <field name="code">1140516012</field>
3996+ <field name="name">GONZALEZ JINMY</field>
3997+ <field name="type">other</field>
3998+ <field eval="False" name="reconcile"/>
3999+ <field name="user_type" ref="account_type_view"/>
4000+ <field name="parent_id" ref="chart_11405"/>
4001+ </record>
4002+ <record id="chart_1140516013" model="account.account.template">
4003+ <field name="code">1140516013</field>
4004+ <field name="name">GARCIA C. KENT J.</field>
4005+ <field name="type">other</field>
4006+ <field eval="False" name="reconcile"/>
4007+ <field name="user_type" ref="account_type_view"/>
4008+ <field name="parent_id" ref="chart_11405"/>
4009+ </record>
4010+ <record id="chart_1140516014" model="account.account.template">
4011+ <field name="code">1140516014</field>
4012+ <field name="name">GONZALEZ R. ILDEMAR C.</field>
4013+ <field name="type">other</field>
4014+ <field eval="False" name="reconcile"/>
4015+ <field name="user_type" ref="account_type_view"/>
4016+ <field name="parent_id" ref="chart_11405"/>
4017+ </record>
4018+ <record id="chart_1140516015" model="account.account.template">
4019+ <field name="code">1140516015</field>
4020+ <field name="name">GOMEZ G. YONDER J.</field>
4021+ <field name="type">other</field>
4022+ <field eval="False" name="reconcile"/>
4023+ <field name="user_type" ref="account_type_view"/>
4024+ <field name="parent_id" ref="chart_11405"/>
4025+ </record>
4026+ <record id="chart_1140517010" model="account.account.template">
4027+ <field name="code">1140517010</field>
4028+ <field name="name">HERNANDEZ FREDYS</field>
4029+ <field name="type">other</field>
4030+ <field eval="False" name="reconcile"/>
4031+ <field name="user_type" ref="account_type_view"/>
4032+ <field name="parent_id" ref="chart_11405"/>
4033+ </record>
4034+ <record id="chart_1140517015" model="account.account.template">
4035+ <field name="code">1140517015</field>
4036+ <field name="name">HIDALGO FELIX</field>
4037+ <field name="type">other</field>
4038+ <field eval="False" name="reconcile"/>
4039+ <field name="user_type" ref="account_type_view"/>
4040+ <field name="parent_id" ref="chart_11405"/>
4041+ </record>
4042+ <record id="chart_1140521003" model="account.account.template">
4043+ <field name="code">1140521003</field>
4044+ <field name="name">LAMON ANGEL</field>
4045+ <field name="type">other</field>
4046+ <field eval="False" name="reconcile"/>
4047+ <field name="user_type" ref="account_type_view"/>
4048+ <field name="parent_id" ref="chart_11405"/>
4049+ </record>
4050+ <record id="chart_1140521004" model="account.account.template">
4051+ <field name="code">1140521004</field>
4052+ <field name="name">LOPEZ A.HUMBERTO D.</field>
4053+ <field name="type">other</field>
4054+ <field eval="False" name="reconcile"/>
4055+ <field name="user_type" ref="account_type_view"/>
4056+ <field name="parent_id" ref="chart_11405"/>
4057+ </record>
4058+ <record id="chart_1140522005" model="account.account.template">
4059+ <field name="code">1140522005</field>
4060+ <field name="name">MARTINEZ CARLOS ALBERTO</field>
4061+ <field name="type">other</field>
4062+ <field eval="False" name="reconcile"/>
4063+ <field name="user_type" ref="account_type_view"/>
4064+ <field name="parent_id" ref="chart_11405"/>
4065+ </record>
4066+ <record id="chart_1140522006" model="account.account.template">
4067+ <field name="code">1140522006</field>
4068+ <field name="name">MARQUEZ YOHAN</field>
4069+ <field name="type">other</field>
4070+ <field eval="False" name="reconcile"/>
4071+ <field name="user_type" ref="account_type_view"/>
4072+ <field name="parent_id" ref="chart_11405"/>
4073+ </record>
4074+ <record id="chart_1140528007" model="account.account.template">
4075+ <field name="code">1140528007</field>
4076+ <field name="name">RIVAS JUAN CARLOS</field>
4077+ <field name="type">other</field>
4078+ <field eval="False" name="reconcile"/>
4079+ <field name="user_type" ref="account_type_view"/>
4080+ <field name="parent_id" ref="chart_11405"/>
4081+ </record>
4082+ <record id="chart_1140528008" model="account.account.template">
4083+ <field name="code">1140528008</field>
4084+ <field name="name">RUIZ DANIS</field>
4085+ <field name="type">other</field>
4086+ <field eval="False" name="reconcile"/>
4087+ <field name="user_type" ref="account_type_view"/>
4088+ <field name="parent_id" ref="chart_11405"/>
4089+ </record>
4090+ <record id="chart_1140528009" model="account.account.template">
4091+ <field name="code">1140528009</field>
4092+ <field name="name">RONDON RENE</field>
4093+ <field name="type">other</field>
4094+ <field eval="False" name="reconcile"/>
4095+ <field name="user_type" ref="account_type_view"/>
4096+ <field name="parent_id" ref="chart_11405"/>
4097+ </record>
4098+ <record id="chart_1140528012" model="account.account.template">
4099+ <field name="code">1140528012</field>
4100+ <field name="name">RAMIREZ F. JOHAN</field>
4101+ <field name="type">other</field>
4102+ <field eval="False" name="reconcile"/>
4103+ <field name="user_type" ref="account_type_view"/>
4104+ <field name="parent_id" ref="chart_11405"/>
4105+ </record>
4106+ <record id="chart_1140529006" model="account.account.template">
4107+ <field name="code">1140529006</field>
4108+ <field name="name">SOTO P.MIGUEL A.</field>
4109+ <field name="type">other</field>
4110+ <field eval="False" name="reconcile"/>
4111+ <field name="user_type" ref="account_type_view"/>
4112+ <field name="parent_id" ref="chart_11405"/>
4113+ </record>
4114+ <record id="chart_1140529007" model="account.account.template">
4115+ <field name="code">1140529007</field>
4116+ <field name="name">SOTO O. PEDRO A.</field>
4117+ <field name="type">other</field>
4118+ <field eval="False" name="reconcile"/>
4119+ <field name="user_type" ref="account_type_view"/>
4120+ <field name="parent_id" ref="chart_11405"/>
4121+ </record>
4122+ <record id="chart_1140531005" model="account.account.template">
4123+ <field name="code">1140531005</field>
4124+ <field name="name">URRUTIA ALBERTO</field>
4125+ <field name="type">other</field>
4126+ <field eval="False" name="reconcile"/>
4127+ <field name="user_type" ref="account_type_view"/>
4128+ <field name="parent_id" ref="chart_11405"/>
4129+ </record>
4130+ <record id="chart_1140536005" model="account.account.template">
4131+ <field name="code">1140536005</field>
4132+ <field name="name">ZAMBRANO ANGEL D.</field>
4133+ <field name="type">other</field>
4134+ <field eval="False" name="reconcile"/>
4135+ <field name="user_type" ref="account_type_view"/>
4136+ <field name="parent_id" ref="chart_11405"/>
4137+ </record>
4138+ <record id="chart_1140536006" model="account.account.template">
4139+ <field name="code">1140536006</field>
4140+ <field name="name">CALCURIAN LUIS MANUEL</field>
4141+ <field name="type">other</field>
4142+ <field eval="False" name="reconcile"/>
4143+ <field name="user_type" ref="account_type_view"/>
4144+ <field name="parent_id" ref="chart_11405"/>
4145+ </record>
4146+ <record id="chart_1140536007" model="account.account.template">
4147+ <field name="code">1140536007</field>
4148+ <field name="name">LAMON AROCHA PEDRO JOSE</field>
4149+ <field name="type">other</field>
4150+ <field eval="False" name="reconcile"/>
4151+ <field name="user_type" ref="account_type_view"/>
4152+ <field name="parent_id" ref="chart_11405"/>
4153+ </record>
4154+ <record id="chart_1140536008" model="account.account.template">
4155+ <field name="code">1140536008</field>
4156+ <field name="name">HERNANDEZ DANNY</field>
4157+ <field name="type">other</field>
4158+ <field eval="False" name="reconcile"/>
4159+ <field name="user_type" ref="account_type_view"/>
4160+ <field name="parent_id" ref="chart_11405"/>
4161+ </record>
4162+ <record id="chart_1140536009" model="account.account.template">
4163+ <field name="code">1140536009</field>
4164+ <field name="name">MURO YOHOMAR</field>
4165+ <field name="type">other</field>
4166+ <field eval="False" name="reconcile"/>
4167+ <field name="user_type" ref="account_type_view"/>
4168+ <field name="parent_id" ref="chart_11405"/>
4169+ </record>
4170+ <record id="chart_1140536010" model="account.account.template">
4171+ <field name="code">1140536010</field>
4172+ <field name="name">CASTELLANO LAO J.</field>
4173+ <field name="type">other</field>
4174+ <field eval="False" name="reconcile"/>
4175+ <field name="user_type" ref="account_type_view"/>
4176+ <field name="parent_id" ref="chart_11405"/>
4177+ </record>
4178+ <record id="chart_1140536011" model="account.account.template">
4179+ <field name="code">1140536011</field>
4180+ <field name="name">UGAS ERICK</field>
4181+ <field name="type">other</field>
4182+ <field eval="False" name="reconcile"/>
4183+ <field name="user_type" ref="account_type_view"/>
4184+ <field name="parent_id" ref="chart_11405"/>
4185+ </record>
4186+ <record id="chart_1140536012" model="account.account.template">
4187+ <field name="code">1140536012</field>
4188+ <field name="name">SOTO JOSE LUIS</field>
4189+ <field name="type">other</field>
4190+ <field eval="False" name="reconcile"/>
4191+ <field name="user_type" ref="account_type_view"/>
4192+ <field name="parent_id" ref="chart_11405"/>
4193+ </record>
4194+ <record id="chart_1140536013" model="account.account.template">
4195+ <field name="code">1140536013</field>
4196+ <field name="name">RAMIREZ C. DARRINSON J.</field>
4197+ <field name="type">other</field>
4198+ <field eval="False" name="reconcile"/>
4199+ <field name="user_type" ref="account_type_view"/>
4200+ <field name="parent_id" ref="chart_11405"/>
4201+ </record>
4202+ <record id="chart_1140536014" model="account.account.template">
4203+ <field name="code">1140536014</field>
4204+ <field name="name">RODRIGUEZ GILBERT</field>
4205+ <field name="type">other</field>
4206+ <field eval="False" name="reconcile"/>
4207+ <field name="user_type" ref="account_type_view"/>
4208+ <field name="parent_id" ref="chart_11405"/>
4209+ </record>
4210+ <record id="chart_1140536015" model="account.account.template">
4211+ <field name="code">1140536015</field>
4212+ <field name="name">SUAREZ R. LUIS E.</field>
4213+ <field name="type">other</field>
4214+ <field eval="False" name="reconcile"/>
4215+ <field name="user_type" ref="account_type_view"/>
4216+ <field name="parent_id" ref="chart_11405"/>
4217+ </record>
4218+ <record id="chart_1140536016" model="account.account.template">
4219+ <field name="code">1140536016</field>
4220+ <field name="name">PALMA YSIDRO</field>
4221+ <field name="type">other</field>
4222+ <field eval="False" name="reconcile"/>
4223+ <field name="user_type" ref="account_type_view"/>
4224+ <field name="parent_id" ref="chart_11405"/>
4225+ </record>
4226+ <record id="chart_1140536017" model="account.account.template">
4227+ <field name="code">1140536017</field>
4228+ <field name="name">BRICEÑO TEOFILO</field>
4229+ <field name="type">other</field>
4230+ <field eval="False" name="reconcile"/>
4231+ <field name="user_type" ref="account_type_view"/>
4232+ <field name="parent_id" ref="chart_11405"/>
4233+ </record>
4234+ <record id="chart_1140536018" model="account.account.template">
4235+ <field name="code">1140536018</field>
4236+ <field name="name">SIMOZA LUIS JOSE</field>
4237+ <field name="type">other</field>
4238+ <field eval="False" name="reconcile"/>
4239+ <field name="user_type" ref="account_type_view"/>
4240+ <field name="parent_id" ref="chart_11405"/>
4241+ </record>
4242+ <record id="chart_1140536019" model="account.account.template">
4243+ <field name="code">1140536019</field>
4244+ <field name="name">PEREZ ROJAS JOSE VICENTE</field>
4245+ <field name="type">other</field>
4246+ <field eval="False" name="reconcile"/>
4247+ <field name="user_type" ref="account_type_view"/>
4248+ <field name="parent_id" ref="chart_11405"/>
4249+ </record>
4250+ <record id="chart_1140536020" model="account.account.template">
4251+ <field name="code">1140536020</field>
4252+ <field name="name">DELGADO JUAN</field>
4253+ <field name="type">other</field>
4254+ <field eval="False" name="reconcile"/>
4255+ <field name="user_type" ref="account_type_view"/>
4256+ <field name="parent_id" ref="chart_11405"/>
4257+ </record>
4258+ <record id="chart_1140536021" model="account.account.template">
4259+ <field name="code">1140536021</field>
4260+ <field name="name">RODRIGUEZ CESAR</field>
4261+ <field name="type">other</field>
4262+ <field eval="False" name="reconcile"/>
4263+ <field name="user_type" ref="account_type_view"/>
4264+ <field name="parent_id" ref="chart_11405"/>
4265+ </record>
4266+ <record id="chart_1140536022" model="account.account.template">
4267+ <field name="code">1140536022</field>
4268+ <field name="name">SUNIAGA D. ANGEL</field>
4269+ <field name="type">other</field>
4270+ <field eval="False" name="reconcile"/>
4271+ <field name="user_type" ref="account_type_view"/>
4272+ <field name="parent_id" ref="chart_11405"/>
4273+ </record>
4274+ <record id="chart_1140536023" model="account.account.template">
4275+ <field name="code">1140536023</field>
4276+ <field name="name">FLORES DEIVY</field>
4277+ <field name="type">other</field>
4278+ <field eval="False" name="reconcile"/>
4279+ <field name="user_type" ref="account_type_view"/>
4280+ <field name="parent_id" ref="chart_11405"/>
4281+ </record>
4282+ <record id="chart_1140536024" model="account.account.template">
4283+ <field name="code">1140536024</field>
4284+ <field name="name">RINCON EMERSON</field>
4285+ <field name="type">other</field>
4286+ <field eval="False" name="reconcile"/>
4287+ <field name="user_type" ref="account_type_view"/>
4288+ <field name="parent_id" ref="chart_11405"/>
4289+ </record>
4290+ <record id="chart_1140536025" model="account.account.template">
4291+ <field name="code">1140536025</field>
4292+ <field name="name">DA SILVA MAIA</field>
4293+ <field name="type">other</field>
4294+ <field eval="False" name="reconcile"/>
4295+ <field name="user_type" ref="account_type_view"/>
4296+ <field name="parent_id" ref="chart_11405"/>
4297+ </record>
4298+ <record id="chart_1140536026" model="account.account.template">
4299+ <field name="code">1140536026</field>
4300+ <field name="name">SULBARAN WILLIAM</field>
4301+ <field name="type">other</field>
4302+ <field eval="False" name="reconcile"/>
4303+ <field name="user_type" ref="account_type_view"/>
4304+ <field name="parent_id" ref="chart_11405"/>
4305+ </record>
4306+ <record id="chart_11405360267" model="account.account.template">
4307+ <field name="code">11405360267</field>
4308+ <field name="name">GONZALEZ PEDRO</field>
4309+ <field name="type">view</field>
4310+ <field eval="False" name="reconcile"/>
4311+ <field name="user_type" ref="account_type_view"/>
4312+ </record>
4313+ <record id="chart_11405360268" model="account.account.template">
4314+ <field name="code">11405360268</field>
4315+ <field name="name">OSORIO JOSUE</field>
4316+ <field name="type">view</field>
4317+ <field eval="False" name="reconcile"/>
4318+ <field name="user_type" ref="account_type_view"/>
4319+ </record>
4320+ <record id="chart_1140599999" model="account.account.template">
4321+ <field name="code">1140599999</field>
4322+ <field name="name">CUENTAS X COBRAR EMP.Y OBREROS</field>
4323+ <field name="type">other</field>
4324+ <field eval="False" name="reconcile"/>
4325+ <field name="user_type" ref="account_type_view"/>
4326+ <field name="parent_id" ref="chart_11405"/>
4327+ </record>
4328+ <record id="chart_11406" model="account.account.template">
4329+ <field name="code">11406</field>
4330+ <field name="name">CUETAS POR COBRAR ADE.UTILID.</field>
4331+ <field name="type">view</field>
4332+ <field eval="False" name="reconcile"/>
4333+ <field name="user_type" ref="account_type_view"/>
4334+ <field name="parent_id" ref="chart_114"/>
4335+ </record>
4336+ <record id="chart_11409" model="account.account.template">
4337+ <field name="code">11409</field>
4338+ <field name="name">OTRAS CUENTAS POR COBRAR</field>
4339+ <field name="type">view</field>
4340+ <field eval="False" name="reconcile"/>
4341+ <field name="user_type" ref="account_type_view"/>
4342+ <field name="parent_id" ref="chart_114"/>
4343+ </record>
4344+ <record id="chart_1140913032" model="account.account.template">
4345+ <field name="code">1140913032</field>
4346+ <field name="name">CONSORCIO GRANITERO DEL ORINOCO</field>
4347+ <field name="type">other</field>
4348+ <field eval="False" name="reconcile"/>
4349+ <field name="user_type" ref="account_type_view"/>
4350+ <field name="parent_id" ref="chart_11409"/>
4351+ </record>
4352+ <record id="chart_1140922018" model="account.account.template">
4353+ <field name="code">1140922018</field>
4354+ <field name="name">MARMOLERIA EL ARTE</field>
4355+ <field name="type">other</field>
4356+ <field eval="False" name="reconcile"/>
4357+ <field name="user_type" ref="account_type_view"/>
4358+ <field name="parent_id" ref="chart_11409"/>
4359+ </record>
4360+ <record id="chart_1140930015" model="account.account.template">
4361+ <field name="code">1140930015</field>
4362+ <field name="name">TRANSPORTE TRAVELER</field>
4363+ <field name="type">other</field>
4364+ <field eval="False" name="reconcile"/>
4365+ <field name="user_type" ref="account_type_view"/>
4366+ <field name="parent_id" ref="chart_11409"/>
4367+ </record>
4368+ <record id="chart_1140999999" model="account.account.template">
4369+ <field name="code">1140999999</field>
4370+ <field name="name">CUENTAS POR COBRAR VARIAS</field>
4371+ <field name="type">other</field>
4372+ <field eval="False" name="reconcile"/>
4373+ <field name="user_type" ref="account_type_view"/>
4374+ <field name="parent_id" ref="chart_11409"/>
4375+ </record>
4376+ <record id="chart_115" model="account.account.template">
4377+ <field name="code">115</field>
4378+ <field name="name">INVENTARIOS</field>
4379+ <field name="type">view</field>
4380+ <field eval="False" name="reconcile"/>
4381+ <field name="user_type" ref="account_type_view"/>
4382+ <field name="parent_id" ref="chart_11"/>
4383+ </record>
4384+ <record id="chart_11501" model="account.account.template">
4385+ <field name="code">11501</field>
4386+ <field name="name">INVENTARIOS INICIALES</field>
4387+ <field name="type">view</field>
4388+ <field eval="False" name="reconcile"/>
4389+ <field name="user_type" ref="account_type_view"/>
4390+ <field name="parent_id" ref="chart_115"/>
4391+ </record>
4392+ <record id="chart_1150101501" model="account.account.template">
4393+ <field name="code">1150101501</field>
4394+ <field name="name">INVENTARIO MATERIA PRIMA</field>
4395+ <field name="type">other</field>
4396+ <field eval="False" name="reconcile"/>
4397+ <field name="user_type" ref="account_type_view"/>
4398+ <field name="parent_id" ref="chart_11501"/>
4399+ </record>
4400+ <record id="chart_1150101502" model="account.account.template">
4401+ <field name="code">1150101502</field>
4402+ <field name="name">INVENTARIO MERCANCIA COMERCIALIZACION</field>
4403+ <field name="type">other</field>
4404+ <field eval="False" name="reconcile"/>
4405+ <field name="user_type" ref="account_type_view"/>
4406+ <field name="parent_id" ref="chart_11501"/>
4407+ </record>
4408+ <record id="chart_1150101503" model="account.account.template">
4409+ <field name="code">1150101503</field>
4410+ <field name="name">INVENTARIO PRODUCTOS TERMINADOS</field>
4411+ <field name="type">other</field>
4412+ <field eval="False" name="reconcile"/>
4413+ <field name="user_type" ref="account_type_view"/>
4414+ <field name="parent_id" ref="chart_11501"/>
4415+ </record>
4416+ <record id="chart_11502" model="account.account.template">
4417+ <field name="code">11502</field>
4418+ <field name="name">COMPRAS IMPORTADAS</field>
4419+ <field name="type">view</field>
4420+ <field eval="False" name="reconcile"/>
4421+ <field name="user_type" ref="account_type_view"/>
4422+ <field name="parent_id" ref="chart_115"/>
4423+ </record>
4424+ <record id="chart_1150201501" model="account.account.template">
4425+ <field name="code">1150201501</field>
4426+ <field name="name">IMPORTACION MATERIAS PRIMAS</field>
4427+ <field name="type">other</field>
4428+ <field eval="False" name="reconcile"/>
4429+ <field name="user_type" ref="account_type_view"/>
4430+ <field name="parent_id" ref="chart_11502"/>
4431+ </record>
4432+ <record id="chart_1150201502" model="account.account.template">
4433+ <field name="code">1150201502</field>
4434+ <field name="name">IMPORTACION PROD.COMERCIALIZACION</field>
4435+ <field name="type">other</field>
4436+ <field eval="False" name="reconcile"/>
4437+ <field name="user_type" ref="account_type_view"/>
4438+ <field name="parent_id" ref="chart_11502"/>
4439+ </record>
4440+ <record id="chart_11503" model="account.account.template">
4441+ <field name="code">11503</field>
4442+ <field name="name">INVENTARIO DE PRODUCTOS TERMINADOS DE TRANSFORMACION</field>
4443+ <field name="type">view</field>
4444+ <field eval="False" name="reconcile"/>
4445+ <field name="user_type" ref="account_type_view"/>
4446+ <field name="parent_id" ref="chart_115"/>
4447+ </record>
4448+ <record id="chart_11504" model="account.account.template">
4449+ <field name="code">11504</field>
4450+ <field name="name">INVENTARIO PRODUCTOS COMPRADO PARA REVENDER</field>
4451+ <field name="type">view</field>
4452+ <field eval="False" name="reconcile"/>
4453+ <field name="user_type" ref="account_type_view"/>
4454+ <field name="parent_id" ref="chart_115"/>
4455+ </record>
4456+ <record id="chart_11505" model="account.account.template">
4457+ <field name="code">11505</field>
4458+ <field name="name">COMPRAS MERCANCIA TRANSFORMACION</field>
4459+ <field name="type">view</field>
4460+ <field eval="False" name="reconcile"/>
4461+ <field name="user_type" ref="account_type_view"/>
4462+ <field name="parent_id" ref="chart_115"/>
4463+ </record>
4464+ <record id="chart_11506" model="account.account.template">
4465+ <field name="code">11506</field>
4466+ <field name="name">COMPRAS MERCANCIA COMERCIALIZACION</field>
4467+ <field name="type">view</field>
4468+ <field eval="False" name="reconcile"/>
4469+ <field name="user_type" ref="account_type_view"/>
4470+ <field name="parent_id" ref="chart_115"/>
4471+ </record>
4472+ <record id="chart_11507" model="account.account.template">
4473+ <field name="code">11507</field>
4474+ <field name="name">COMPRAS DE CUCHILLAS</field>
4475+ <field name="type">view</field>
4476+ <field eval="False" name="reconcile"/>
4477+ <field name="user_type" ref="account_type_view"/>
4478+ <field name="parent_id" ref="chart_115"/>
4479+ </record>
4480+ <record id="chart_11508" model="account.account.template">
4481+ <field name="code">11508</field>
4482+ <field name="name">COMPRAS DE GRANALLAS</field>
4483+ <field name="type">view</field>
4484+ <field eval="False" name="reconcile"/>
4485+ <field name="user_type" ref="account_type_view"/>
4486+ <field name="parent_id" ref="chart_115"/>
4487+ </record>
4488+ <record id="chart_11509" model="account.account.template">
4489+ <field name="code">11509</field>
4490+ <field name="name">COMPRAS ABRASIVOS Y ACIDOS</field>
4491+ <field name="type">view</field>
4492+ <field eval="False" name="reconcile"/>
4493+ <field name="user_type" ref="account_type_view"/>
4494+ <field name="parent_id" ref="chart_115"/>
4495+ </record>
4496+ <record id="chart_11510" model="account.account.template">
4497+ <field name="code">11510</field>
4498+ <field name="name">COMPRAS DISCOS</field>
4499+ <field name="type">view</field>
4500+ <field eval="False" name="reconcile"/>
4501+ <field name="user_type" ref="account_type_view"/>
4502+ <field name="parent_id" ref="chart_115"/>
4503+ </record>
4504+ <record id="chart_11511" model="account.account.template">
4505+ <field name="code">11511</field>
4506+ <field name="name">COMPRAS VARIAS</field>
4507+ <field name="type">view</field>
4508+ <field eval="False" name="reconcile"/>
4509+ <field name="user_type" ref="account_type_view"/>
4510+ <field name="parent_id" ref="chart_115"/>
4511+ </record>
4512+ <record id="chart_11512" model="account.account.template">
4513+ <field name="code">11512</field>
4514+ <field name="name">GTOS.COMPRAS MERCANCIA TRANSFORMACION</field>
4515+ <field name="type">view</field>
4516+ <field eval="False" name="reconcile"/>
4517+ <field name="user_type" ref="account_type_view"/>
4518+ <field name="parent_id" ref="chart_115"/>
4519+ </record>
4520+ <record id="chart_11513" model="account.account.template">
4521+ <field name="code">11513</field>
4522+ <field name="name">GTOS.COMPRAS MERCANCIA COMERCIALIZACION</field>
4523+ <field name="type">view</field>
4524+ <field eval="False" name="reconcile"/>
4525+ <field name="user_type" ref="account_type_view"/>
4526+ <field name="parent_id" ref="chart_115"/>
4527+ </record>
4528+ <record id="chart_11514" model="account.account.template">
4529+ <field name="code">11514</field>
4530+ <field name="name">GASTOS EN COMPRAS DE CUCHILLAS</field>
4531+ <field name="type">view</field>
4532+ <field eval="False" name="reconcile"/>
4533+ <field name="user_type" ref="account_type_view"/>
4534+ <field name="parent_id" ref="chart_115"/>
4535+ </record>
4536+ <record id="chart_11515" model="account.account.template">
4537+ <field name="code">11515</field>
4538+ <field name="name">GASTOS EN COMPRAS DE GRANALLAS</field>
4539+ <field name="type">view</field>
4540+ <field eval="False" name="reconcile"/>
4541+ <field name="user_type" ref="account_type_view"/>
4542+ <field name="parent_id" ref="chart_115"/>
4543+ </record>
4544+ <record id="chart_11516" model="account.account.template">
4545+ <field name="code">11516</field>
4546+ <field name="name">GASTOS EN COMPRAS ABRASIVOS Y ACIDOS</field>
4547+ <field name="type">view</field>
4548+ <field eval="False" name="reconcile"/>
4549+ <field name="user_type" ref="account_type_view"/>
4550+ <field name="parent_id" ref="chart_115"/>
4551+ </record>
4552+ <record id="chart_11517" model="account.account.template">
4553+ <field name="code">11517</field>
4554+ <field name="name">GASTOS EN COMPRAS DE DISCOS</field>
4555+ <field name="type">view</field>
4556+ <field eval="False" name="reconcile"/>
4557+ <field name="user_type" ref="account_type_view"/>
4558+ <field name="parent_id" ref="chart_115"/>
4559+ </record>
4560+ <record id="chart_11518" model="account.account.template">
4561+ <field name="code">11518</field>
4562+ <field name="name">REBAJAS Y DEVOLUCIONES EN COMPRAS TRANSFORMACION</field>
4563+ <field name="type">view</field>
4564+ <field eval="False" name="reconcile"/>
4565+ <field name="user_type" ref="account_type_view"/>
4566+ <field name="parent_id" ref="chart_115"/>
4567+ </record>
4568+ <record id="chart_11519" model="account.account.template">
4569+ <field name="code">11519</field>
4570+ <field name="name">REBAJAS Y DEVOLUCIONES EN COMPRAS COMERCIALIZACIONES</field>
4571+ <field name="type">view</field>
4572+ <field eval="False" name="reconcile"/>
4573+ <field name="user_type" ref="account_type_view"/>
4574+ <field name="parent_id" ref="chart_115"/>
4575+ </record>
4576+ <record id="chart_11520" model="account.account.template">
4577+ <field name="code">11520</field>
4578+ <field name="name">COMPRAS DE FLOCCULANTE</field>
4579+ <field name="type">view</field>
4580+ <field eval="False" name="reconcile"/>
4581+ <field name="user_type" ref="account_type_view"/>
4582+ <field name="parent_id" ref="chart_115"/>
4583+ </record>
4584+ <record id="chart_11521" model="account.account.template">
4585+ <field name="code">11521</field>
4586+ <field name="name">COMPRA DE CEMENTO EXPANSIVO</field>
4587+ <field name="type">view</field>
4588+ <field eval="False" name="reconcile"/>
4589+ <field name="user_type" ref="account_type_view"/>
4590+ <field name="parent_id" ref="chart_115"/>
4591+ </record>
4592+ <record id="chart_11522" model="account.account.template">
4593+ <field name="code">11522</field>
4594+ <field name="name">COMPRA DE BARRENOS</field>
4595+ <field name="type">view</field>
4596+ <field eval="False" name="reconcile"/>
4597+ <field name="user_type" ref="account_type_view"/>
4598+ <field name="parent_id" ref="chart_115"/>
4599+ </record>
4600+ <record id="chart_11523" model="account.account.template">
4601+ <field name="code">11523</field>
4602+ <field name="name">COMPRA DE HILO DIAMANTADO</field>
4603+ <field name="type">view</field>
4604+ <field eval="False" name="reconcile"/>
4605+ <field name="user_type" ref="account_type_view"/>
4606+ <field name="parent_id" ref="chart_115"/>
4607+ </record>
4608+ <record id="chart_11524" model="account.account.template">
4609+ <field name="code">11524</field>
4610+ <field name="name">COMPRA DE REPUESTOS VARIOS</field>
4611+ <field name="type">view</field>
4612+ <field eval="False" name="reconcile"/>
4613+ <field name="user_type" ref="account_type_view"/>
4614+ <field name="parent_id" ref="chart_115"/>
4615+ </record>
4616+ <record id="chart_11525" model="account.account.template">
4617+ <field name="code">11525</field>
4618+ <field name="name">COMPRA DE RESINAS</field>
4619+ <field name="type">view</field>
4620+ <field eval="False" name="reconcile"/>
4621+ <field name="user_type" ref="account_type_view"/>
4622+ <field name="parent_id" ref="chart_115"/>
4623+ </record>
4624+ <record id="chart_116" model="account.account.template">
4625+ <field name="code">116</field>
4626+ <field name="name">OTROS ACTIVOS CIRCULANTES</field>
4627+ <field name="type">view</field>
4628+ <field eval="False" name="reconcile"/>
4629+ <field name="user_type" ref="account_type_view"/>
4630+ <field name="parent_id" ref="chart_11"/>
4631+ </record>
4632+ <record id="chart_11601" model="account.account.template">
4633+ <field name="code">11601</field>
4634+ <field name="name">GASTOS PAGADOS POR ANTICIPADO</field>
4635+ <field name="type">view</field>
4636+ <field eval="False" name="reconcile"/>
4637+ <field name="user_type" ref="account_type_view"/>
4638+ <field name="parent_id" ref="chart_116"/>
4639+ </record>
4640+ <record id="chart_1160151601" model="account.account.template">
4641+ <field name="code">1160151601</field>
4642+ <field name="name">I.S.L.R. PRE-PAGADO</field>
4643+ <field name="type">other</field>
4644+ <field eval="False" name="reconcile"/>
4645+ <field name="user_type" ref="account_type_view"/>
4646+ <field name="parent_id" ref="chart_11601"/>
4647+ </record>
4648+ <record id="chart_1160151602" model="account.account.template">
4649+ <field name="code">1160151602</field>
4650+ <field name="name">I.V.S.S. PRE-PAGADO</field>
4651+ <field name="type">other</field>
4652+ <field eval="False" name="reconcile"/>
4653+ <field name="user_type" ref="account_type_view"/>
4654+ <field name="parent_id" ref="chart_11601"/>
4655+ </record>
4656+ <record id="chart_1160151603" model="account.account.template">
4657+ <field name="code">1160151603</field>
4658+ <field name="name">L.P.H. PRE-PAGADO</field>
4659+ <field name="type">other</field>
4660+ <field eval="False" name="reconcile"/>
4661+ <field name="user_type" ref="account_type_view"/>
4662+ <field name="parent_id" ref="chart_11601"/>
4663+ </record>
4664+ <record id="chart_1160151604" model="account.account.template">
4665+ <field name="code">1160151604</field>
4666+ <field name="name">PUBLICIDAD PRE-PAGADA</field>
4667+ <field name="type">other</field>
4668+ <field eval="False" name="reconcile"/>
4669+ <field name="user_type" ref="account_type_view"/>
4670+ <field name="parent_id" ref="chart_11601"/>
4671+ </record>
4672+ <record id="chart_1160151610" model="account.account.template">
4673+ <field name="code">1160151610</field>
4674+ <field name="name">SUELDOS PAGADOS POR ANTICIPADOS</field>
4675+ <field name="type">other</field>
4676+ <field eval="False" name="reconcile"/>
4677+ <field name="user_type" ref="account_type_view"/>
4678+ <field name="parent_id" ref="chart_11601"/>
4679+ </record>
4680+ <record id="chart_1160151611" model="account.account.template">
4681+ <field name="code">1160151611</field>
4682+ <field name="name">SALARIOS PAGADOS POR ANTICIPADOS</field>
4683+ <field name="type">other</field>
4684+ <field eval="False" name="reconcile"/>
4685+ <field name="user_type" ref="account_type_view"/>
4686+ <field name="parent_id" ref="chart_11601"/>
4687+ </record>
4688+ <record id="chart_1160151612" model="account.account.template">
4689+ <field name="code">1160151612</field>
4690+ <field name="name">I.V.A. PRE-PAGADO</field>
4691+ <field name="type">other</field>
4692+ <field eval="False" name="reconcile"/>
4693+ <field name="user_type" ref="account_type_view"/>
4694+ <field name="parent_id" ref="chart_11601"/>
4695+ </record>
4696+ <record id="chart_1160151613" model="account.account.template">
4697+ <field name="code">1160151613</field>
4698+ <field name="name">I.V.A. PRE-PAGADO IMPORTACIONES</field>
4699+ <field name="type">other</field>
4700+ <field eval="False" name="reconcile"/>
4701+ <field name="user_type" ref="account_type_view"/>
4702+ <field name="parent_id" ref="chart_11601"/>
4703+ </record>
4704+ <record id="chart_1160151614" model="account.account.template">
4705+ <field name="code">1160151614</field>
4706+ <field name="name">I.V.A. RETENIDO POR CLIENTES</field>
4707+ <field name="type">other</field>
4708+ <field eval="False" name="reconcile"/>
4709+ <field name="user_type" ref="account_type_view"/>
4710+ <field name="parent_id" ref="chart_11601"/>
4711+ </record>
4712+ <record id="chart_1160151620" model="account.account.template">
4713+ <field name="code">1160151620</field>
4714+ <field name="name">SEGURO PREPAGADO</field>
4715+ <field name="type">other</field>
4716+ <field eval="False" name="reconcile"/>
4717+ <field name="user_type" ref="account_type_view"/>
4718+ <field name="parent_id" ref="chart_11601"/>
4719+ </record>
4720+ <record id="chart_11602" model="account.account.template">
4721+ <field name="code">11602</field>
4722+ <field name="name">RETENCIONES SOPORTADAS ( CLIENTES )</field>
4723+ <field name="type">view</field>
4724+ <field eval="False" name="reconcile"/>
4725+ <field name="user_type" ref="account_type_view"/>
4726+ <field name="parent_id" ref="chart_116"/>
4727+ </record>
4728+ <record id="chart_1160251606" model="account.account.template">
4729+ <field name="code">1160251606</field>
4730+ <field name="name">RETENCIONES FIEL CUMPLIMIENTO</field>
4731+ <field name="type">other</field>
4732+ <field eval="False" name="reconcile"/>
4733+ <field name="user_type" ref="account_type_view"/>
4734+ <field name="parent_id" ref="chart_11602"/>
4735+ </record>
4736+ <record id="chart_1160251607" model="account.account.template">
4737+ <field name="code">1160251607</field>
4738+ <field name="name">RETENCIONES LABORALES</field>
4739+ <field name="type">other</field>
4740+ <field eval="False" name="reconcile"/>
4741+ <field name="user_type" ref="account_type_view"/>
4742+ <field name="parent_id" ref="chart_11602"/>
4743+ </record>
4744+ <record id="chart_11620" model="account.account.template">
4745+ <field name="code">11620</field>
4746+ <field name="name">ANTICIPOS A PROVEEDORES</field>
4747+ <field name="type">view</field>
4748+ <field eval="False" name="reconcile"/>
4749+ <field name="user_type" ref="account_type_view"/>
4750+ <field name="parent_id" ref="chart_116"/>
4751+ </record>
4752+ <record id="chart_11621" model="account.account.template">
4753+ <field name="code">11621</field>
4754+ <field name="name">ANTICIPOS A PROVEEDORES DEL EXTERIOR</field>
4755+ <field name="type">view</field>
4756+ <field eval="False" name="reconcile"/>
4757+ <field name="user_type" ref="account_type_view"/>
4758+ <field name="parent_id" ref="chart_116"/>
4759+ </record>
4760+ <record id="chart_11622" model="account.account.template">
4761+ <field name="code">11622</field>
4762+ <field name="name">ANTIC.TRANSPORTE MULTIMODAL,C.A.</field>
4763+ <field name="type">view</field>
4764+ <field eval="False" name="reconcile"/>
4765+ <field name="user_type" ref="account_type_view"/>
4766+ <field name="parent_id" ref="chart_116"/>
4767+ </record>
4768+ <record id="chart_12" model="account.account.template">
4769+ <field name="code">12</field>
4770+ <field name="name">INVERSIONES</field>
4771+ <field name="type">view</field>
4772+ <field eval="False" name="reconcile"/>
4773+ <field name="user_type" ref="account_type_view"/>
4774+ <field name="parent_id" ref="chart_1"/>
4775+ </record>
4776+ <record id="chart_121" model="account.account.template">
4777+ <field name="code">121</field>
4778+ <field name="name">INVERSIONES FINANCIERAS</field>
4779+ <field name="type">view</field>
4780+ <field eval="False" name="reconcile"/>
4781+ <field name="user_type" ref="account_type_view"/>
4782+ <field name="parent_id" ref="chart_12"/>
4783+ </record>
4784+ <record id="chart_12103" model="account.account.template">
4785+ <field name="code">12103</field>
4786+ <field name="name">TRANSACCIONES CON TITULOS DPN.</field>
4787+ <field name="type">view</field>
4788+ <field eval="False" name="reconcile"/>
4789+ <field name="user_type" ref="account_type_view"/>
4790+ <field name="parent_id" ref="chart_121"/>
4791+ </record>
4792+ <record id="chart_12110" model="account.account.template">
4793+ <field name="code">12110</field>
4794+ <field name="name">INVERSIONES EN ACCIONES</field>
4795+ <field name="type">view</field>
4796+ <field eval="False" name="reconcile"/>
4797+ <field name="user_type" ref="account_type_view"/>
4798+ <field name="parent_id" ref="chart_121"/>
4799+ </record>
4800+ <record id="chart_12111" model="account.account.template">
4801+ <field name="code">12111</field>
4802+ <field name="name">TITULOS DEUDA PUBLICA NACIONAL</field>
4803+ <field name="type">view</field>
4804+ <field eval="False" name="reconcile"/>
4805+ <field name="user_type" ref="account_type_view"/>
4806+ <field name="parent_id" ref="chart_121"/>
4807+ </record>
4808+ <record id="chart_12112" model="account.account.template">
4809+ <field name="code">12112</field>
4810+ <field name="name">TITULOS VALORES</field>
4811+ <field name="type">view</field>
4812+ <field eval="False" name="reconcile"/>
4813+ <field name="user_type" ref="account_type_view"/>
4814+ <field name="parent_id" ref="chart_121"/>
4815+ </record>
4816+ <record id="chart_12115" model="account.account.template">
4817+ <field name="code">12115</field>
4818+ <field name="name">CERTIFICADOS ESPECIALES DE REINTEGRO TRIBUTARIO</field>
4819+ <field name="type">view</field>
4820+ <field eval="False" name="reconcile"/>
4821+ <field name="user_type" ref="account_type_view"/>
4822+ <field name="parent_id" ref="chart_121"/>
4823+ </record>
4824+ <record id="chart_12190" model="account.account.template">
4825+ <field name="code">12190</field>
4826+ <field name="name">INVERSIONES VARIAS</field>
4827+ <field name="type">view</field>
4828+ <field eval="False" name="reconcile"/>
4829+ <field name="user_type" ref="account_type_view"/>
4830+ <field name="parent_id" ref="chart_121"/>
4831+ </record>
4832+ <record id="chart_122" model="account.account.template">
4833+ <field name="code">122</field>
4834+ <field name="name">INVERSIONES EN EMPRESAS RELACIONADAS</field>
4835+ <field name="type">view</field>
4836+ <field eval="False" name="reconcile"/>
4837+ <field name="user_type" ref="account_type_view"/>
4838+ <field name="parent_id" ref="chart_12"/>
4839+ </record>
4840+ <record id="chart_12201" model="account.account.template">
4841+ <field name="code">12201</field>
4842+ <field name="name">INVERS.EN DISTRIB.ACROP.BARQUISIMETO, C.A</field>
4843+ <field name="type">view</field>
4844+ <field eval="False" name="reconcile"/>
4845+ <field name="user_type" ref="account_type_view"/>
4846+ <field name="parent_id" ref="chart_122"/>
4847+ </record>
4848+ <record id="chart_12202" model="account.account.template">
4849+ <field name="code">12202</field>
4850+ <field name="name">INVERS.EN DISTRIB.ACROP.FALCON, C.A</field>
4851+ <field name="type">view</field>
4852+ <field eval="False" name="reconcile"/>
4853+ <field name="user_type" ref="account_type_view"/>
4854+ <field name="parent_id" ref="chart_122"/>
4855+ </record>
4856+ <record id="chart_12203" model="account.account.template">
4857+ <field name="code">12203</field>
4858+ <field name="name">INVERS.EN REVESTIMIENTOS DACROPOLIS, C.A</field>
4859+ <field name="type">view</field>
4860+ <field eval="False" name="reconcile"/>
4861+ <field name="user_type" ref="account_type_view"/>
4862+ <field name="parent_id" ref="chart_122"/>
4863+ </record>
4864+ <record id="chart_13" model="account.account.template">
4865+ <field name="code">13</field>
4866+ <field name="name">ACTIVO FIJO</field>
4867+ <field name="type">view</field>
4868+ <field eval="False" name="reconcile"/>
4869+ <field name="user_type" ref="account_type_view"/>
4870+ <field name="parent_id" ref="chart_1"/>
4871+ </record>
4872+ <record id="chart_131" model="account.account.template">
4873+ <field name="code">131</field>
4874+ <field name="name">ACTIVO FIJO NO DEPRECIABLE</field>
4875+ <field name="type">view</field>
4876+ <field eval="False" name="reconcile"/>
4877+ <field name="user_type" ref="account_type_view"/>
4878+ <field name="parent_id" ref="chart_13"/>
4879+ </record>
4880+ <record id="chart_13101" model="account.account.template">
4881+ <field name="code">13101</field>
4882+ <field name="name">TERRENOS</field>
4883+ <field name="type">view</field>
4884+ <field eval="False" name="reconcile"/>
4885+ <field name="user_type" ref="account_type_view"/>
4886+ <field name="parent_id" ref="chart_131"/>
4887+ </record>
4888+ <record id="chart_13102" model="account.account.template">
4889+ <field name="code">13102</field>
4890+ <field name="name">EDIFICIOS Y CONSTRUCCION EN PROCESO</field>
4891+ <field name="type">view</field>
4892+ <field eval="False" name="reconcile"/>
4893+ <field name="user_type" ref="account_type_view"/>
4894+ <field name="parent_id" ref="chart_131"/>
4895+ </record>
4896+ <record id="chart_13103" model="account.account.template">
4897+ <field name="code">13103</field>
4898+ <field name="name">GALPON EN CONSTRUCCION</field>
4899+ <field name="type">view</field>
4900+ <field eval="False" name="reconcile"/>
4901+ <field name="user_type" ref="account_type_view"/>
4902+ <field name="parent_id" ref="chart_131"/>
4903+ </record>
4904+ <record id="chart_13104" model="account.account.template">
4905+ <field name="code">13104</field>
4906+ <field name="name">TELAR EN CONSTRUCCION</field>
4907+ <field name="type">view</field>
4908+ <field eval="False" name="reconcile"/>
4909+ <field name="user_type" ref="account_type_view"/>
4910+ <field name="parent_id" ref="chart_131"/>
4911+ </record>
4912+ <record id="chart_13105" model="account.account.template">
4913+ <field name="code">13105</field>
4914+ <field name="name">GRUA EN PROCESO DE INSTALACION</field>
4915+ <field name="type">view</field>
4916+ <field eval="False" name="reconcile"/>
4917+ <field name="user_type" ref="account_type_view"/>
4918+ <field name="parent_id" ref="chart_131"/>
4919+ </record>
4920+ <record id="chart_13106" model="account.account.template">
4921+ <field name="code">13106</field>
4922+ <field name="name">MAQUINARIAS EN PROCESO DE INSTALACION</field>
4923+ <field name="type">view</field>
4924+ <field eval="False" name="reconcile"/>
4925+ <field name="user_type" ref="account_type_view"/>
4926+ <field name="parent_id" ref="chart_131"/>
4927+ </record>
4928+ <record id="chart_13107" model="account.account.template">
4929+ <field name="code">13107</field>
4930+ <field name="name">MAQUINA RESINADORA EN PROCESO DE INSTALACION</field>
4931+ <field name="type">view</field>
4932+ <field eval="False" name="reconcile"/>
4933+ <field name="user_type" ref="account_type_view"/>
4934+ <field name="parent_id" ref="chart_131"/>
4935+ </record>
4936+ <record id="chart_132" model="account.account.template">
4937+ <field name="code">132</field>
4938+ <field name="name">ACTIVO FIJO DEPRBLE/AMORT.</field>
4939+ <field name="type">view</field>
4940+ <field eval="False" name="reconcile"/>
4941+ <field name="user_type" ref="account_type_view"/>
4942+ <field name="parent_id" ref="chart_13"/>
4943+ </record>
4944+ <record id="chart_13202" model="account.account.template">
4945+ <field name="code">13202</field>
4946+ <field name="name">EDIFICIOS</field>
4947+ <field name="type">view</field>
4948+ <field eval="False" name="reconcile"/>
4949+ <field name="user_type" ref="account_type_view"/>
4950+ <field name="parent_id" ref="chart_132"/>
4951+ </record>
4952+ <record id="chart_13203" model="account.account.template">
4953+ <field name="code">13203</field>
4954+ <field name="name">MAQUINARIAS Y EQUIPOS DE FABRICACION</field>
4955+ <field name="type">view</field>
4956+ <field eval="False" name="reconcile"/>
4957+ <field name="user_type" ref="account_type_view"/>
4958+ <field name="parent_id" ref="chart_132"/>
4959+ </record>
4960+ <record id="chart_13204" model="account.account.template">
4961+ <field name="code">13204</field>
4962+ <field name="name">INSTALACIONES Y MEJORAS EN PROPIEDAD</field>
4963+ <field name="type">view</field>
4964+ <field eval="False" name="reconcile"/>
4965+ <field name="user_type" ref="account_type_view"/>
4966+ <field name="parent_id" ref="chart_132"/>
4967+ </record>
4968+ <record id="chart_13205" model="account.account.template">
4969+ <field name="code">13205</field>
4970+ <field name="name">VEHICULOS</field>
4971+ <field name="type">view</field>
4972+ <field eval="False" name="reconcile"/>
4973+ <field name="user_type" ref="account_type_view"/>
4974+ <field name="parent_id" ref="chart_132"/>
4975+ </record>
4976+ <record id="chart_13206" model="account.account.template">
4977+ <field name="code">13206</field>
4978+ <field name="name">MOBILIARIO Y EQUIPOS DE OFICINAS</field>
4979+ <field name="type">view</field>
4980+ <field eval="False" name="reconcile"/>
4981+ <field name="user_type" ref="account_type_view"/>
4982+ <field name="parent_id" ref="chart_132"/>
4983+ </record>
4984+ <record id="chart_13207" model="account.account.template">
4985+ <field name="code">13207</field>
4986+ <field name="name">UTILES-HERRAMIENTAS</field>
4987+ <field name="type">view</field>
4988+ <field eval="False" name="reconcile"/>
4989+ <field name="user_type" ref="account_type_view"/>
4990+ <field name="parent_id" ref="chart_132"/>
4991+ </record>
4992+ <record id="chart_13208" model="account.account.template">
4993+ <field name="code">13208</field>
4994+ <field name="name">CANTERA MACUSPA</field>
4995+ <field name="type">view</field>
4996+ <field eval="False" name="reconcile"/>
4997+ <field name="user_type" ref="account_type_view"/>
4998+ <field name="parent_id" ref="chart_132"/>
4999+ </record>
5000+ <record id="chart_13209" model="account.account.template">
The diff has been truncated for viewing.