Commit Graph

230 Commits

Author SHA1 Message Date
Goffin Simon c33f79ae3e [FIX] stock: _get_domain_locations function
To adopt the same behavior than location with warehouse in function _get_domain_locations.

opw:644219
2015-07-09 08:00:05 +02:00
Martin Trigaux 5e475f75de [FIX] stock: filter products on locations
Filtering product.product based on the location crashed due to fields_view_get
override exepecting an integer in the context.

Fixes #5164
Closes #5218
2015-07-06 16:28:48 +02:00
Wolfgang Taferner 0ec704f8ec [FIX] stock: UoM of a product should not be changed when done stock moves exist.
Backport from saas-6 (242a76cc979c3fc237d9e3c44ad18361b33a0d98)

Closes #7224
opw-643168
2015-06-23 16:16:50 +02:00
david.beal@akretion.com ea4f9c4625 [FIX] call fields_view_get with named context
otherwise new API bridging breaks down

closes #6371
2015-04-20 09:39:40 +02:00
Leonardo Pistone 01f1d91006 [FIX] stock: use owner for virtual stock and in/out
Fixes odoo/odoo#5814.

It will also calculate virtual stock when lot/owner/pack is specified, but will
not filter the future stock on lot/pack.
2015-04-10 11:14:30 +02:00
Josse Colpaert 50cdacba90 [FIX] stock: search qty available correction when searching zero quantities
When =, >=, <= 0 it cannot use the read_group of quants because the results will not be in the read_group Fixes #5701
2015-03-17 16:50:50 +01:00
Josse Colpaert 9284679abe [FIX] Add decimal precision on product template quantities fixes #5512 2015-03-02 17:18:13 +01:00
Josse Colpaert edaec21835 [IMP] Change order of search terms when creating domain for search qty, clean 2015-03-02 13:59:39 +01:00
Denis Michiels acbef5552d [FIX] stock: improvement search on product
- The search on qty_available is faster by looking only to the quants.

- Less SQL queries
2015-03-02 13:59:39 +01:00
Josse Colpaert d4152c2a40 [IMP] Optimize child_of with parent_left and parent_right
[FIX] Make sure it does not give errors on runbot by providing an alternative when parent_left would be zero
2015-03-02 13:59:39 +01:00
Josse Colpaert cf16632b44 [IMP] No digits_compute on product_qty of move + rounding on qty_available fields + add float_compare 2014-12-02 15:51:57 +01:00
Josse Colpaert 23c010c9b4 [IMP] Incoming, outgoing and virtual quantities should not take draft moves into account 2014-11-24 22:38:51 +01:00
qdp-odoo e7f44018a3 [FIX] stock: allow the user to use the '!=' operator in domains for 'Qty on Hand' and 'Qty available'. Fixes #2763 2014-10-01 16:50:10 +02:00
Raphaël Valyi 64f65ee8f6 [FIX] stock: moves link on product form opening wrong view
Fixes #2008
2014-08-27 14:39:13 +02:00
Josse Colpaert 4aa9ef8224 [IMP] Type manufacturing orders, remove double accounting entries, child_of, push rule global has no route 2014-08-12 13:37:26 +02:00
Josse Colpaert 0aad6b0498 [IMP] Check other comments on pull request: xmlid, no split in context + continue improve receipts instead of receptions 2014-07-16 11:58:22 +02:00
Josse Colpaert bdfdba0de4 [IMP] Update manufacturing 2014-07-07 23:33:47 +02:00
Josse Colpaert 2518767005 [IMP] Start of extra primary view on product template that is not inherited by product_product 2014-07-07 21:45:11 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Josse Colpaert c9f247daea [IMP] Check inventory valuation fields 2014-06-23 10:03:56 +02:00
Josse Colpaert e4521e4681 [ADD] Add sequence handle for picking types and action_view_routes for product_product 2014-06-02 13:35:45 +02:00
Josse Colpaert fb9f0a1886 [IMP] Previously done changes for qty_available stat button 2014-06-02 10:59:33 +02:00
qdp-odoo 0fa755bc89 [MERGE] master 2014-05-30 17:05:44 +02:00
Josse Colpaert 04e86a70d9 [IMP] Show quantity available 2014-05-27 13:39:38 +02:00
Christophe Matthieu 43977deb71 [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
Quentin (OpenERP) 9790132189 [REF] stock: small code refactoring
bzr revid: qdp-launchpad@openerp.com-20140428092726-1vo51if06q2o2b8y
2014-04-28 11:27:26 +02:00
Quentin (OpenERP) 398d96f273 [MERGE] merged trunk up to revision 9327
bzr revid: qdp-launchpad@openerp.com-20140414094743-hv0u7qhigv1to2uc
2014-04-14 11:47:43 +02:00
Quentin (OpenERP) 2fd72600fa [REF] stock: refactored the removal and putaway strategies + added FEFO removal in product_expiry
bzr revid: qdp-launchpad@openerp.com-20140411171901-ibjelg7wldld167y
2014-04-11 19:19:01 +02:00
Josse Colpaert d45fd02abd [IMP] Push rules should try to find routes on warehouse first before searching anything
bzr revid: jco@openerp.com-20140403155735-y357mj3gtp7j3x7i
2014-04-03 17:57:35 +02:00
Josse Colpaert c44082312e [IMP] Change quantity on hand, incoming, outgoing, virtual to include all locations of the warehouse, not just stock
bzr revid: jco@openerp.com-20140403091912-r017dtfa1g23o40z
2014-04-03 11:19:12 +02:00
Quentin (OpenERP) e36b32a661 [MERGE] merged with main trunk (revision 9186)
bzr revid: qdp-launchpad@openerp.com-20140228131516-ihigousbe5p1nt68
2014-02-28 14:15:16 +01:00
Denis Ledoux bd4f015533 [FIX]stock: product Forecasted Quantity, incoming and outgoing help tooltip were half removed
bzr revid: dle@openerp.com-20140204100835-z0mlvoot21yoz0z3
2014-02-04 11:08:35 +01:00
Quentin (OpenERP) 2f5f6c831b [MERGE] stock: real and virtual quantities of product stored and made sortable/searchable
lp bug: https://launchpad.net/bugs/1268983 fixed

bzr revid: qdp-launchpad@openerp.com-20140124150704-eic48otp9cp2ncni
2014-01-24 16:07:04 +01:00
Denis Ledoux 1fb1a6f2af [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9789 revid:dle@openerp.com-20140124120102-we2yxio553ws2yz4
bzr revid: dle@openerp.com-20140120174449-tui0a24zgn9bien2
bzr revid: dle@openerp.com-20140121125538-ke7i6kaz486hwgl8
bzr revid: dle@openerp.com-20140122134115-0ogjemlqe327xoac
bzr revid: dle@openerp.com-20140123103655-mf2zslfbgue97ed2
bzr revid: dle@openerp.com-20140124121027-uk9zy4dx9tqlsblr
2014-01-24 13:10:27 +01: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
Cedric Snauwaert 9dc64a216b [FIX]add search function and filter for virtual_available and qty_available on product
bzr revid: csn@openerp.com-20140117092011-5c0qu2a2xor29g7u
2014-01-17 10:20:11 +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
Quentin (OpenERP) aae5f68be6 [FIX] stock: fixed product_available function to take the location and warehouse into consideration
bzr revid: qdp-launchpad@openerp.com-20131030142242-5d5sku8n1upxgmue
2013-10-30 15:22:42 +01:00
jke-openerp 6db6e69f4a [FIX] Update reference for action_view_routes in product.py from module stock which raise a trace back
bzr revid: jke@openerp.com-20131029102339-ecyef6lka65e9ev5
2013-10-29 11:23:39 +01:00
Quentin (OpenERP) eddd2f3575 [MERGE] merged with main feature branch
bzr revid: qdp-launchpad@openerp.com-20131017121349-xyip1fn6j0itiz56
2013-10-17 14:13:49 +02:00
jke-openerp 7dde2be791 task : misc - part 1
bzr revid: jke@openerp.com-20131011160423-arlw8cb809us4c9f
2013-10-11 18:04:23 +02:00
jke-openerp 27f2eb58fc merge data
bzr revid: jke@openerp.com-20131009133039-z6gj37omov4xh1qu
2013-10-09 15:30:39 +02:00
Quentin (OpenERP) 0ad5ed7c8a [FIX] some refactoring on the merge of stock and stock_location
bzr revid: qdp-launchpad@openerp.com-20131007130447-0e5m7qcmv7rzf7hx
2013-10-07 15:04:47 +02:00
jke-openerp 8e81692518 merge sto sto_loc
bzr revid: jke@openerp.com-20131004145659-qt8sodvtxfqz0yv8
2013-10-04 16:56:59 +02:00
Josse Colpaert ec42279960 [IMP] group push rules by purchase, purchase order line has procurements, one route on product
bzr revid: jco@openerp.com-20130913094216-lyfj84amuxlcnpq9
2013-09-13 11:42:16 +02:00
Quentin (OpenERP) d204621fa0 [IMP] stock, usability: inventory
bzr revid: qdp-launchpad@openerp.com-20130912073837-qmdngrr6sgqho5ii
2013-09-12 09:38:37 +02:00
Josse Colpaert 30f27b8cbb [IMP] Move route_ids from product from stock_location to stock and remove supply_method (change with route)
bzr revid: jco@openerp.com-20130909115515-7z6ixaxe7bpxxe73
2013-09-09 13:55:15 +02:00
Josse Colpaert 34a6f75083 [ADD] Orderpoints, wizard in group_no_one
bzr revid: jco@openerp.com-20130904170413-2v3uf661x5bmtkhf
2013-09-04 19:04:13 +02:00
Quentin (OpenERP) d3514d9e7c [IMP] inventory yaml fixed (merged from csn branch then improved)
bzr revid: qdp-launchpad@openerp.com-20130902143743-rup39393lk6bs5xk
2013-09-02 16:37:43 +02:00
Josse Colpaert ffdabcbc52 [WIP] Sequence on picking types
bzr revid: jco@openerp.com-20130724153235-0we14ofbquanuo2h
2013-07-24 17:32:35 +02:00