Commit Graph

152 Commits

Author SHA1 Message Date
Rifakat fa27d28494 [FIX] stock: inventory lines with no production lot: compare with correct stock level
Inventory lines without production lot number should
be compared with the stock level of products without
a production lot. Otherwise the final result of a
validated inventory is wrong as soon as there are
lines with and without production lot for the same
product.

Adds corresponding regression test.

Fixes https://bugs.launchpad.net/openobject-addons/+bug/1008099
Manual rebase of #1658, courtesy of Numerigraphe
2014-08-14 16:51:37 +02:00
Martin Trigaux 9cf14197ac [FIX] stock: recompute the qty_available based on the location instead of using the one in the result of the browse (opw 606423)
The qty_available field is a function field that uses the information of the context (eg: location) to compute the value. Using the global browse record would return the same qty_available value for each location (and then produce way too many account.move)

bzr revid: mat@openerp.com-20140429124256-ljph37kijosg5dqb
2014-04-29 14:42:56 +02:00
Denis Ledoux a38a58cab8 [FIX] stock: updating cost price for products with cost method set to average price and inventory valuation periodic (manual) does not write move lines.
As the move line should be written manually by the accountant

bzr revid: dle@openerp.com-20140121124243-4a23ih2z51mh4svf
2014-01-21 13:42:43 +01:00
Olivier Dony d279819af7 [FIX] stock, multicompany: avoid crashing when computing inventory levels and no warehouse/locations exists for a company
This is a cherry-pick backport of the trunk fix for bug 921561,
originally merged in trunk at revid fp@openerp.com-20130224101111-zz5n34c5fmr4n8jt

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

bzr revid: odo@openerp.com-20130417132021-pmf0cdvwaxrsx9ew
2013-04-17 15:20:21 +02:00
Olivier Dony 03b6acd13d [MERGE] Access inherited product fields on the product directly rather than template, courtesy of Alexis de Lattre (Akretion)
It makes the code a little more straightforward and does not hurt.

bzr revid: odo@openerp.com-20121218225015-6r9ydxjlh147m3z1
2012-12-18 23:50:15 +01:00
Olivier Dony fc0c2942ba [MERGE] Another batch of bugfixes from 6.1
bzr revid: odo@openerp.com-20121218175547-7c1uxq4ypbi314gx
2012-12-18 18:55:47 +01:00
Raphael Collet 73980eba5f [MERGE] trunk-import-openerp-thu (use strict naming convention when importing openerp stuff)
bzr revid: rco@openerp.com-20121218085914-qzr2upqfxmfbzfsx
2012-12-18 09:59:14 +01:00
Olivier Dony b67f73c327 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121218025230-zig415ldtmazgbxt
2012-12-18 03:52:30 +01:00
Olivier Dony 84d7987f33 [MERGE] Bugfixes from 6.1 until revision 6900
rev.6900 = xal@openerp.com-20120720134532-t07xr3lp8ouhn2dv

bzr revid: odo@openerp.com-20121218021123-9ligpn7bkr9zo4n7
2012-12-18 03:11:23 +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
pankita shah (Open ERP) a232b85590 [IMP] in height,width,length add cm and imrove stock Journal, and imrove date_done field in incomming_shippment,internal moves and delivery order
bzr revid: shp@tinyerp.com-20121121071718-cl9dbck5nd37i9ei
2012-11-21 12:47:18 +05:30
Fabien Pinckaers cd68364301 [MERGE] English typos
bzr revid: fp@openerp.com-20121102173407-umicel4287htim14
2012-11-02 18:34:07 +01:00
Vijaykumar Baladaniya 41b08b3a7a [IMP]Add fullstop.
bzr revid: vba@tinyerp.com-20121031102524-idghkbzectude39f
2012-10-31 15:55:24 +05:30
Sanjay Gohel (Open ERP) 2b93826132 [IMP]string chaged future > forcasted
bzr revid: sgo@tinyerp.com-20121029125426-ux5wyihy6nbzlke5
2012-10-29 18:24:26 +05:30
Vijaykumar Baladaniya 7850a91339 [IMP]Improve a tooltip.
bzr revid: vba@tinyerp.com-20121023130242-pu2o7e9x7lpr7g36
2012-10-23 18:32:42 +05:30
Mayur Maheshwari (OpenERP) cfb0197236 [FIX]product : remove lemda from defaults
bzr revid: mma@tinyerp.com-20121003114208-p6p0xvecuc1vfb0e
2012-10-03 17:12:08 +05:30
Mayur Maheshwari (OpenERP) 8306d9226e [IMP]Product: sale_delay, loc_rack, loc_row, loc_case fields move from product to stock and purchase_ok field move from product to purchase and related views and data updated
bzr revid: mma@tinyerp.com-20121003064840-0zsgb6ntp4yfc46z
2012-10-03 12:18:40 +05:30
Stephane Wirtel 92d66cea29 [MERGE] stock: fix the issue of counting of Deliveries
bzr revid: stw@openerp.com-20120905131750-19qrx22nauoxc6fk
2012-09-05 15:17:50 +02:00
Fabien Pinckaers 3eaeda7144 [IMP] Product view
bzr revid: fp@tinyerp.com-20120903175410-d1434rw9cs3ekmo8
2012-09-03 19:54:10 +02:00
Alexis de Lattre f9fe637803 Remplace all occurences of my_browse_rec.product_id.product_tmpl_id.field to my_browse_rec.product_id.field
bzr revid: alexis@via.ecp.fr-20120727015202-7fylff5jr26sgxez
2012-07-27 03:52:02 +02:00
pso (OpenERP) c8b2503d05 [IMP] Improved warning messages for stock module
bzr revid: pso@tinyerp.com-20120725103041-2ndjekods10xmhg8
2012-07-25 16:00:41 +05:30
pso (OpenERP) bcdaf0cdb4 [IMP] Improved warning messages/exceptions for stock modules
bzr revid: pso@tinyerp.com-20120717132135-w9w65og3akobeons
2012-07-17 18:51:35 +05:30
Hardik ffca1e887d [IMP]Stock : Warning Messages are changed
bzr revid: hsa@tinyerp.com-20120712062539-w4lbgg01rwbsyddv
2012-07-12 11:55:39 +05:30
Olivier Dony 736a3e5811 [FIX] stock: correct order of query parameters, broken in commit 6848
bzr revid: odo@openerp.com-20120619074007-bp2snzj1uoybayxp
2012-06-19 09:40:07 +02:00
Olivier Dony acc0a0a4c2 [FIX] stock: properly pass production lot number as SQL query parameter
lp bug: https://launchpad.net/bugs/1014759 fixed

bzr revid: odo@openerp.com-20120618174153-kx2hcqv2wq7bhf3c
2012-06-18 19:41:53 +02:00
Mayur Maheshwari (OpenERP) 61a3238d97 [FIX]stock: fix the issue of counting of Deliveries in kanban view and improve a action string
lp bug: https://launchpad.net/bugs/1011541 fixed

bzr revid: mma@tinyerp.com-20120611105038-wrospxpjr2wbna6h
2012-06-11 16:20:38 +05:30
Benoit Guillot bc3a9c4f43 [FIX] Replace browse on products by read in order to increase performances.
bzr revid: benoit.guillot@akretion.com.br-20120709134024-kh03pbdc1vugca73
2012-07-09 15:40:24 +02:00
Fabien Pinckaers 8d588acf49 [IMP] views bugfixes
bzr revid: fp@tinyerp.com-20120522145433-ajupwx0tpgyp5il4
2012-05-22 16:54:33 +02:00
Fabien Pinckaers 2bce6d97d7 [IMP] removed dashboards, order of menus, count buttons on partner, products
bzr revid: fp@tinyerp.com-20120522143759-lnd5eescth6yxdvu
2012-05-22 16:37:59 +02:00
DBR (OpenERP) 3239de4429 [IMP]stock: Initialize variable
bzr revid: dbr@tinyerp.com-20120522110444-qf40n3faan9a75ei
2012-05-22 16:34:44 +05:30
DBR (OpenERP) 17f484574d [IMP]stock: Specific condition
bzr revid: dbr@tinyerp.com-20120522095137-1658gnfqgostpcn2
2012-05-22 15:21:37 +05:30
DBR (OpenERP) d38c63e656 [IMP]stock: Instead of stock.picking set stock.move for product kanban links Reception & Deliveries
bzr revid: dbr@tinyerp.com-20120522070228-fzxz0j11qhivkb73
2012-05-22 12:32:28 +05:30
DBR (OpenERP) 17c776c2eb [Merge]with: lp:openobject-addons
bzr revid: dbr@tinyerp.com-20120518084522-enysb9wuzo22g1bs
2012-05-18 14:15:22 +05:30
Raphael Collet 827fb865c4 [IMP] improve methods for counting opportunities, meetings, sale orders, and pickings
bzr revid: rco@openerp.com-20120504145551-66l6wy2qumc59r82
2012-05-04 16:55:51 +02:00
DBR (OpenERP) c5184a19a9 [IMP]stock: Improve domain
bzr revid: dbr@tinyerp.com-20120503054429-yxo4t5busz293hn6
2012-05-03 11:14:29 +05:30
DBR (OpenERP) bbf00f1aa5 [IMP]stock:remove extra def
bzr revid: dbr@tinyerp.com-20120503052517-9bk8uha3rajbtupi
2012-05-03 10:55:17 +05:30
DBR (OpenERP) 1064ec73b4 [IMP]stock: Improve a product kanban links with actions(without specific product domain)
bzr revid: dbr@tinyerp.com-20120502060749-sphn88ybq5gfvzg9
2012-05-02 11:37:49 +05:30
DBR (OpenERP) 75c07062f9 [IMP]sale, crm, stock: set link as a string and brackets at end for product kanaban view
bzr revid: dbr@tinyerp.com-20120427123009-cy4jbia0chiljvjj
2012-04-27 18:00:09 +05:30
DBR (OpenERP) d9c305ef06 [ADD,IMP] sale,crm:
added:
  sale/res_partner.py
  sale/res_partner_view.xml
modified:
  crm/res_partner.py
  crm/res_partner_view.xml
  sale/__init__.py
  sale/__openerp__.py
  stock/product.py
  stock/product_view.xml
  stock/static/src/css/stock.css
For set links off quatations,opportunity and meeting

bzr revid: dbr@tinyerp.com-20120426103133-l0uc091e9r7mbu9b
2012-04-26 16:01:33 +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
Raphael Collet 77127ae57a [MERGE] stock: improve code of get_product_available
bzr revid: rco@openerp.com-20120111083852-wc1g2qcwdc0cv3j6
2012-01-11 09:38:52 +01:00
Cristian Salamea 28d15b34de [IMP] improve use ORM to get stock data
bzr revid: ovnicraft@gmail.com-20120110225213-pr166dev1uzn0q7e
2012-01-10 17:52:13 -05:00
Olivier Dony f974bc2c62 [IMP] stock: typo in tooltip + useless lambda
bzr revid: odo@openerp.com-20111222165422-5nlkvg8hj6w7ecli
2011-12-22 17:54:22 +01:00
Olivier Dony 6864cd92ac [IMP] stock: improved labels and tooltips for valuation accounts
lp bug: https://launchpad.net/bugs/890193 fixed

bzr revid: odo@openerp.com-20111201003755-cj9i0q19vlta1i41
2011-12-01 01:37:55 +01:00
Fabien Pinckaers 2ce3a03001 merge
bzr revid: fp@tinyerp.com-20111111135123-dl84n5sfqjv2zsb9
2011-11-11 14:51:23 +01:00
Numerigraphe - Lionel Sausin b720ac36c9 [IMP] Help texts for available stock
bzr revid: ls@numerigraphe.fr-20111028150209-xkms3tlnz8yxs0yo
2011-10-28 17:02:09 +02:00
Numerigraphe - Lionel Sausin 9c88824ebf [REF] Add a few comments to the UoM conversion magic in the "stock available" function fields
bzr revid: ls@numerigraphe.fr-20111027152652-anht8zo00pabaera
2011-10-27 17:26:52 +02:00
Atik Agewan (OpenERP) 78506b24aa [IMP] Stock:Rename variable name account_variation to account_valuation
bzr revid: aag@tinyerp.com-20111010064337-731biv5udvp45qbj
2011-10-10 12:13:37 +05:30