Merge lp://qastaging/~vauxoo/addons-vauxoo/7.0-average_stock_valuation_journal_items-dev-yani into lp://qastaging/addons-vauxoo/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~vauxoo/addons-vauxoo/7.0-average_stock_valuation_journal_items-dev-yani |
Merge into: | lp://qastaging/addons-vauxoo/7.0 |
Diff against target: |
354 lines (+181/-16) 3 files modified
periodic_inventory_valuation/__openerp__.py (+37/-0) periodic_inventory_valuation/model/periodic_inventory_valuation.py (+51/-9) periodic_inventory_valuation/view/periodic_inventory_valuation_view.xml (+93/-7) |
To merge this branch: | bzr merge lp://qastaging/~vauxoo/addons-vauxoo/7.0-average_stock_valuation_journal_items-dev-yani |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gabriela Quilarque | Pending | ||
hbto [Vauxoo] http://www.vauxoo.com | Pending | ||
Yanina Aular (Vauxoo) | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2013-09-02.
Description of the change
Mejoras en el módulo:
2.- Cosas que se pueden mejorar:
-Bloquear campo name y date luego de validado. (DONE)
-Colocar el campo date a la derecha del campo name. (DONE)
-Ampliar la ayuda del modulo en el __openerp__.py de modo que indique cosas como: (DONE)
--Configurar el diario en la compañía. (DONE)
--Los productos deben estar configurados como: -Valoración de Inventario: Manual, -Product Type: Stockable Product. (DONE)
-Revisar que los periodos no esten seteados como diario de apertura y/o cierre. (DONE)
3.- Cosas que creo que podrían hacer falta:
-Poder visualizar histórico de costo por producto, desde cada linea en la pestaña Valuation Lines. - añadir group_by product al histórico (DONE)
-Posibilidad de anular la valoración de inventario, una vez realizada. lo haremos con un nuevo menu/ action /view / DOMAIN(state=done) (DONE)
Unmerged revisions
- 47. By Yanina Aular (Vauxoo)
-
[MERGE] from addons-vauxoo-7.0
- 46. By Yanina Aular (Vauxoo)
-
[IMP] documentation of the module
- 45. By Yanina Aular (Vauxoo)
-
[IMP] just can be canceled the last inventory, cancel button is ready
- 44. By Yanina Aular (Vauxoo)
-
[IMP] The cancel button returns document to the state draft
- 43. By Yanina Aular (Vauxoo)
-
[IMP] change name button to Cancel
- 42. By Yanina Aular (Vauxoo)
-
[FIX] Calculating product valuation did not take into consideration the average cost in purchasing, but the unit cost of the purchase.
- 41. By Yanina Aular (Vauxoo)
-
[IMP] button cancel periodic inventory valuation
- 40. By Yanina Aular (Vauxoo)
-
[IMP] search fields in the view, group by per product
- 39. By Yanina Aular (Vauxoo)
-
[ADD] starting documentation
- 38. By Yanina Aular (Vauxoo)
-
[DEL] form view
Hola Yani,
Estuve intentando probar el modulo, en una bd nueva.
El procedimiento fue el siguiente: inventory_ valuation.
1.- Creé bd nueva con datos de prueba.
2.- Instale el modulo: periodic_
3.- Asigne permisos al usuario admin para que pueda ver el modulo.
4.- Configuré diario en la compañía.
5.- Creeé un nuevo registro.
6.- Coloqué nombre.
7.- Coloqué fecha= 07/01/2013 (01 de Julio de 2013).
8.- Agregue productos en la pestaña: Products to Value.
9.- Al presionar "Save" o "Update Valuation" marca el siguiente error:
Please create one from the configuration of the accounting menu. gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ netsvc. py", line 292, in dispatch_rpc getService( service_ name).dispatch( method, params) gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ service/ web_services. py", line 626, in dispatch gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ osv/osv. py", line 188, in execute_kw gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ osv/osv. py", line 131, in wrapper gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ osv/osv. py", line 197, in execute gabriela/ instancias/ 7_0/produccion_ actual/ server/ openerp/ osv/osv. py", line 185, in execute_cr gabriela/ instancias/ 7_0/produccion_ actual/ addons- vauxoo/ periodic_ inventory_ valuation/ model/periodic_ inventory_ valuation. py", line 159, in create 'period_ id'] = self.get_period(cr, uid, False, vals.get('date'), context=context) gabriela/ instancias/ 7_0/produccion_ actual/ addons- vauxoo/ periodic_ inventory_ valuation/ model/periodic_ inventory_ valuation. py", line 104, in get_period osv(_(' Error!' ), _('There is no fiscal year defined for this date.\nPlease create one from the configuration of the accounting menu.'))
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
vals[
File "/home/
raise osv.except_
except_osv: (u'Error!', u'There is no fiscal year defined for this date.\nPlease create one from the configuration of the accounting menu.')
PD. Si tengo el ejercicio fiscal con los periodos mensuales creados. No se, si se te llegó a presentar este error.
server: 5206.
addons: 9294
web:3994