Commit Graph

63 Commits

Author SHA1 Message Date
Denis Ledoux 5a4884f017 [FIX] stock: update inventory wizard, default location_id
In a multi-company environment, you might not
have the access to the stock location
`stock.stock_location_stock`,
in such a case, you should not set it as default value.

This is a regression of revision 9bf6f0310e

opw-652387
2015-10-19 17:04:26 +02:00
Nicolas Martinelli 6b7e6f6b90 [ADD] stock: onchange on wizard stock_change_product_qty
The proposed value for the new quantity on hand is calculated for the chosen
warehouse.

opw-639641
2015-05-18 12:54:20 +02:00
Nicolas Martinelli b8779f0c53 [FIX] stock: keep inventory options consistent
Make sure that appropriate fields are emptied when switching to in between inventory filters.
This prevents incoherent results due to hidden fields which were filled in a previous selection.

opw-634388
Fixes #6512
2015-05-11 08:30:10 +02:00
Josse Colpaert 723f532e57 [IMP] Changing product qty on product form should work with serial numbers like in 7.0, but we should explain it
Closes #3984
2014-12-12 10:48:00 +01:00
Josse Colpaert 21aaec282d [FIX] Theoretical quantity for created inventory adjustment should take into account location in context of stock 2014-09-17 21:41:41 +02:00
Josse Colpaert 138011c69b [IMP] Changing the standard cost price should do the real-time valuation for all variants of the template 2014-09-03 19:19:18 +02:00
Josse Colpaert 32dd003d60 [MERGE] Resolve conflicts 8.0 2014-07-13 09:27:20 +02:00
Christophe Matthieu e3d9db2bab [FIX] stock: update and request procurment button use active_id to se the product. Fix to use this buttons on product template. 2014-07-07 16:58:47 +02:00
Josse Colpaert 12211437f1 [IMP] Corrections in views + calendar fields isinstance + inventory theoretical qty 2014-06-25 15:03:11 +02:00
Quentin (OpenERP) c41941d978 [FIX] a lot a fixes or usability improvements. Includes a branch of jco as well with other fixes
bzr revid: qdp-launchpad@openerp.com-20140416145313-eiadz94h9wolhb9b
2014-04-16 16:53:13 +02:00
Quentin (OpenERP) e0b27b4ee8 [MERGE] merged trunk up to revision 9251
bzr revid: qdp-launchpad@openerp.com-20140326152751-b6bo0fawrzmd71f0
2014-03-26 16:27:51 +01:00
Kersten Jeremy 9bf6f0310e [FIX] Move default value in the _defaults of model and not in default_get.
Don't override the location_id if the super get_default don't retrun a value. 

Else it is impossible to set a default value, because the ir_values is always overrided with stock_location_stock as location_id

bzr revid: jke@openerp.com-20140320180240-un42lptu3pjnsmxq
2014-03-20 19:02:40 +01:00
Quentin (OpenERP) 3753eb2524 [MERGE] fix of stock_change_product_qty wizard
lp bug: https://launchpad.net/bugs/1271991 fixed

bzr revid: qdp-launchpad@openerp.com-20140206124937-dx4j3vraziu5wmp6
2014-02-06 13:49:37 +01:00
Cedric Snauwaert 12cbabfaf9 [FIX]product qty wizard adjustement: take into account lot id and should not prepare an inventory
bzr revid: csn@openerp.com-20140130134457-6ukdbv0lyz98tkej
2014-01-30 14:44:57 +01:00
Cedric Snauwaert 1f818db2ff [FIX]wizard stock_change_product_qty: when changing qty of a product, the way the inventory was used was wrong
bzr revid: csn@openerp.com-20140124135625-8y5ehlsbexp3iyqm
2014-01-24 14:56:25 +01:00
Quentin (OpenERP) 0af018bb54 [FIX] stock: adapted the change qty wizard to the move of track_production in MRP module (fields_view_get overridding removed, the field may not be required as it will raise an error if needed)
bzr revid: qdp-launchpad@openerp.com-20140107110719-snz3nw8fpn8e7m0f
2014-01-07 12:07:19 +01:00
Quentin (OpenERP) e3d7ff9c69 [REV] stock: added back the wizard to change the quantity removed in previous commit: it's not deprecated at all as it applies on product, not stock moves\!
bzr revid: qdp-launchpad@openerp.com-20140107110409-hclpl2552l65bs3i
2014-01-07 12:04:09 +01:00
Quentin (OpenERP) a0558ad4fd [IMP] stock: rehabilited the constraint check on traceability of lots. Improved it by allowing to track all operations (included the internal -> internal ones). Refactored in order to move the track_production field in mrp, where it's meaningful. Removed also a unused/deprecated wizard to change qty on a move
bzr revid: qdp-launchpad@openerp.com-20140107103915-bx9spjoclrlhalbr
2014-01-07 11:39:15 +01:00
jke-openerp 2c65def713 [FIX] According to [wms] APR's Review from 20131022 - Move lead_time in mrp module, trace back on split delivery
bzr revid: jke@openerp.com-20131029074815-mws7cuvqgxr6q2d4
2013-10-29 08:48:15 +01:00
Quentin (OpenERP) a3c28ede83 [MERGE] mergedf jke branch with removal of useless picking_id field on mrp.production + temporary commented crashing yaml test
bzr revid: qdp-launchpad@openerp.com-20131016073302-3hvpuikmacvbo00c
2013-10-16 09:33:02 +02:00
jke-openerp 5bce036a6a Test on multiCompany updated + some other tiny bug
bzr revid: jke@openerp.com-20131015122216-m5itjbwouetc3loj
2013-10-15 14:22:16 +02:00
Quentin (OpenERP) 65966940c8 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
2013-10-10 15:32:12 +02:00
Purnendu Singh (OpenERP) dab5e349ab [IMP] stock: changes due to rename the of product_uom to product_uom_id of stock.inventory.line object
bzr revid: psi@tinyerp.com-20130806065928-tk273x62a1p13z81
2013-08-06 12:29:28 +05:30
Denis Ledoux 5895b17ca1 [FIX]stock: wizard stock change qty, object_reference return an integer and not a browse record
bzr revid: dle@openerp.com-20130801142119-3kt689udw6j9zofz
2013-08-01 16:21:19 +02:00
Martin Trigaux 2f07aac8b2 [FIX] stock: remove warning popup on update product quantity wizard and correctly verify access rights on stock.location
lp bug: https://launchpad.net/bugs/1200194 fixed

bzr revid: mat@openerp.com-20130729135844-jtanbteqtg52ztnu
2013-07-29 15:58:44 +02:00
Fabien Pinckaers 8f49a3d4c7 [IMP] WIP removed 1000 lines of code
bzr revid: fp@tinyerp.com-20130630085503-ubn247ylue58wa1u
2013-06-30 10:55:03 +02:00
Thibault Delavallée 57c7839078 [CLEAN] stock: removed dead log_picking method, that is not working (not logging, and not called) since the beginning of OpenChatter and that no-one did seem to miss. Also cleaned some chatter messages, removing unnecessary calls.
bzr revid: tde@openerp.com-20121219205513-h7geda6mgcux8hpb
2012-12-19 21:55:13 +01:00
Fabien Pinckaers 41f7f27881 [IMP] several subtype fixes
bzr revid: fp@tinyerp.com-20121218220617-d6ebdlkf1facw4x8
2012-12-18 23:06:17 +01:00
Cecile Tonglet a3939acfa5 [FIX] replace from/import decimal_precision by from/import openerp.addons.decimal_precision
bzr revid: cto@openerp.com-20121217152303-8e3b1x30rlw9cb0d
2012-12-17 16:23:03 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Fabien Pinckaers 5d3f9a09d1 [IMP] usability, clean several screens
bzr revid: fp@tinyerp.com-20120912171636-53vgvm34u579cmjv
2012-09-12 19:16:36 +02:00
Fabien Pinckaers b62858e83e [IMP] Merging different ways of posting a message:
message_append_note
  message_append_dict
  message_append
  --> merged all to message_post

bzr revid: fp@tinyerp.com-20120817100302-bqsqv23ogrchslew
2012-08-17 12:03:02 +02:00
Stephane Wirtel 2a9412f179 [MERGE] lp:~openerp-dev/openobject-addons/trunk-addons_issue_product-mdi/
bzr revid: stw@openerp.com-20120724115324-df6e10iry42n026b
2012-07-24 13:53:24 +02:00
Divyesh Makwana (Open ERP) 9809b7def0 [IMP] stock : Added default location.
bzr revid: mdi@tinyerp.com-20120720112501-06fbn7m2bh295hky
2012-07-20 16:55:01 +05:30
Alexis de Lattre 36cb6f479a Use product.product instead of product.template when we go through the ORM.
In this process, I re-wrote the fonction change_product_qty_send_note in stock/wizard/stock_change_product_qty.py : the code is now much better !

bzr revid: alexis@via.ecp.fr-20120709162124-jmqv7hrl94fbzk1j
2012-07-09 18:21:24 +02:00
Sanjay Gohel (Open ERP) 3508f75dba [IMP]:add condition for context in stock
bzr revid: sgo@tinyerp.com-20120605111229-utdr8bxhod22b8sh
2012-06-05 16:42:29 +05:30
Jagdish Panchal (Open ERP) 29918c6418 [IMP] rename UOM to Unit of Measure everywhere in sale,stock,purchase,project_long_term and project_planning
bzr revid: jap@tinyerp.com-20120425120908-z13f1k2an7q01b8j
2012-04-25 17:39:08 +05:30
Jagdish Panchal (Open ERP) 18653db6f2 [IMP] mrp,mrp_repair,stock: Rename fields Production Lot >> Serial Number and also rename the fields in stock congi wizard
bzr revid: jap@tinyerp.com-20120424130805-dbfdz0f4j440vy2h
2012-04-24 18:38:05 +05:30
Thibault Delavallée 16e50b1a43 [MERGE] Merged with bth MRP branch
bzr revid: tde@openerp.com-20120403104751-y1iep9psdtn8cphp
2012-04-03 12:47:51 +02:00
Thibault Delavallée 9cff260d3d [IMP] Code cleaning
bzr revid: tde@openerp.com-20120322090154-2qau8gkkp5zql8py
2012-03-22 10:01:54 +01:00
Bhumi Thakkar (Open ERP) 3f2d8a100e [FIX] Rename function name.
bzr revid: bth@tinyerp.com-20120320055609-7oqpdallo153udcv
2012-03-20 11:26:09 +05:30
Bhumi Thakkar (Open ERP) 11b087a0b6 [FIX] renamed methods' name and modified statements and removed need_action_user_id field from view.
bzr revid: bth@tinyerp.com-20120313114429-b1jyxk7i4v1e5n8t
2012-03-13 17:14:29 +05:30
Bhumi Thakkar (Open ERP) 3f6550a82b [FIX] Improved Language of notifications(present perfect simple with passive form) and unnecessary code is removed.
bzr revid: bth@tinyerp.com-20120312102612-rrk1b7xpd132cs87
2012-03-12 15:56:12 +05:30
Bhumi Thakkar (Open ERP) d94bb35ff7 [FIX] UOM is added in change quantity notification in product and UI of threadview is modified.
bzr revid: bth@tinyerp.com-20120307130713-d9qp1ms3oajj40zk
2012-03-07 18:37:13 +05:30
Bhumi Thakkar (Open ERP) d83bf22983 [IMP] notifications in mrp,bom,product.
bzr revid: bth@tinyerp.com-20120306133816-59cs058o3oq8arro
2012-03-06 19:08:16 +05:30
Xavier Morel 48c8f9a47a [FIX] stock: only apply transformations to form fields of stock.change.product.qty when fields_view_get is on a form view
Also remove useless & bonkers conditionals (checking that a key exists
in a dict and then setting one of its sub-keys whether or not the test
succeeded is going to blow up either way), and simplify the code since

    if condition:
        some_value = True
    else:
        some_value = False

can just be written as:

    some_value = condition

lp bug: https://launchpad.net/bugs/905188 fixed

bzr revid: xmo@openerp.com-20111222134620-bpi9d24msbia4ymm
2011-12-22 14:46:20 +01:00
Bogdan Stanciu e19e1fe100 [FIX] some product_qty fields are set with hardcoded decimal precision, and some without. I added dp on all occurrences of product_qty.
lp bug: https://launchpad.net/bugs/884179 fixed

bzr revid: bogdanovidiu.stanciu@gmail.com-20111031113830-drdqvvrz032nrzh4
2011-10-31 12:38:30 +01:00
Hardik Ansodariy (OpenERP) ceb222bb94 [IMP]:stop opening of inventory form while changing of product stock
bzr revid: han@tinyerp.com-20110719111918-u6nza3n740csvp2g
2011-07-19 16:49:18 +05:30
Quentin (OpenERP) ba3ee64859 [MERGE] lp:777803
bzr revid: qdp-launchpad@openerp.com-20110530163158-0tnmt1b96omcjbft
2011-05-30 18:31:58 +02:00
ron@tinyerp.com 0e9d77f528 [IMP]stock:entering a negative value give the warning
bzr revid: ron@tinyerp.com-20110506065208-vdkuowmwy4iv1fxn
2011-05-06 12:22:08 +05:30