Commit Graph
180 Commits
Author SHA1 Message Date
Goffin Simon bb2549f531 [FIX] stock: location_id and location_dest_id
In "stock.move" model the fields location_id and location_dest_id
are required. But when disabling "Manage Multiple Locations and Warehouses"
in Technical Settings, these fields became hidden in stock.move.form and
then it was impossible to add an new product to consume in mrp.production.form.

In 8.0, to be in group_stock_user implies to be in stock.group_locations.

Introduced by e58b16a

opw:660032
2016-01-11 12:19:23 +01:00
Christophe Simonis 32c7c31b40 [MERGE] forward port of branch saas-6 up to a73e292 2015-11-25 19:08:27 +01:00
Christophe Simonis a73e29255d [MERGE] forward port of branch 8.0 up to 1c5c255 2015-11-25 18:59:05 +01:00
Denis Ledoux 2fd14db574 [FIX] stock: multi-company rule for stock.quant.
`stock.move` & `stock.product` have multi-company rules.
There is therefore no reason why `stock.quant` could not have one.

Besides, this could lead to access rights issues,
when a user went to the `Quants` list,
in Warehouse > Traceability > Quants,
while there were quants for products in a company different
than the user company.

opw-653188
2015-11-25 14:32:46 +01:00
Thibault Delavallée 33c78f1621 [FIX] stock: stock user should be able to create products
Stock user should be able to create products. Indeed when targetting small
businesses, restricting the right to create products limitates the use of
the inventory app. It is possible to further restrict access to the product
model using record rules for big companies that have a lot of users and
managers, and where creating product should be limited.
2015-11-06 17:28:17 +01:00
Josse Colpaert 80fab986a9 [IMP] stock: deactivate picking types instead of using 2 security groups for not showing internal picking types in kanban
Instead of using 2 security groups to make sure
internal pickings are not shown in the dashboard
when not in multiple locations,
picking types are deactivated when the warehouse
is one step in/out and not in multiple locations.

That way it will work the same for other kanban views.

The colors of the kanban view are also changed.
2015-09-28 21:25:02 +02:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Josse Colpaert 22b81b92e1 [IMP] stock: instead of splitting the pack operation by lots, we allow for multiple lots by pack operation
When scanning multiple serial numbers e.g., the list of pack operations
can become quite long.  In order to avoid that, we make it possible
for pack operations to contain multiple lots.

The implementation is done in the way that the links between moves
and pack operations remains the way it was.  The important difference
is that on action_done, it will check all the reserved quants and their lots at
once first and only afterwards, it will check the lots one by one to check what
it can reserve.

As the details for the lots for the pack operation became a real object, the wizards related
to the pack operation details are not necessary anymore and were replaced
by a form view of the pack operation.
2015-08-25 10:07:30 +02:00
Yannick Tivisse b3b2b2110a [IMP] Remove dependencies to 'board' module in every modules 2015-08-21 10:42:18 +02:00
Gaurav Panchal b600075d86 [IMP] stock: groups and config update
Set the single location management group into hidden category, like the
multiple location related group.
2015-08-12 11:41:58 +02:00
Yannick Tivisse e58b16a589 [IMP] stock : Usability improvements
- Rename some labels
- Add menu tips for picking type views
- Set Operations menuitem in group_no_one
- The options under configuration should not be in technical features
- Reorganized the configuration menuitems
- Hide the internal transfers in the picking type views if the option Use multi location and warehouse is disabled

Conflicts:
	addons/stock/product_view.xml
2015-07-10 10:20:37 +02:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
Josse Colpaert 2cb3a90c1c [IMP] Barcode interface and transfer wizard in picking form instead
Pack operations will not appear in a transfer wizard or bar code interface anymore, but
in the picking form itself.  Some wizards are still needed however to ask whether a
backorder needs to be created and whether we need to do an immediate transfer

The biggest change in the model is in the picking where the locations of the picking
are not a related anymore, but need to be set. That is why the tests need to be changed.
This allows also to have pickings without moves initially and just move one pack e.g.
Locations won't be visible on stock moves in a picking either.  (as they should be those of the picking)

In order to avoid confusion, the pack operations are created immediately when stock is reserved and we
are not waiting until the wizard or the bar code interface is launched anymore.

The recompute button previously in the barcode interface will only appear when the reservation changed
and the user indicated in the pack operations that something was moved already.  Otherwise it will
recompute the pack operations.  That way the reservation on the stock moves, is reflected by the pack operations.

Return pickings are not confirmed automatically when confirming the return wizard.
That should make it possible to choose another location for the return.  (Don't return in output e.g.)

Barcode scanning is not in this commit.
2015-06-15 10:18:17 +02:00
Christophe Simonis 7f2de62378 [MERGE] forward port of branch 8.0 up to 33a8989 2015-02-11 17:25:33 +01:00
Denis Ledoux 769c62ef27 [MERGE] forward port of branch saas-3 up to f92b2f8 2015-02-06 14:19:30 +01:00
Denis Ledoux f92b2f8d4d [MERGE] forward port of branch 7.0 up to 0b7db55 2015-02-06 14:02:43 +01:00
David Monjoie d7f30de9ae [FIX] product: moved pricelist_item ACL from stock to product
Otherwise if we install sale without stock, we can create pricelist and pricelist versions, but not pricelist items.
Fix for issue 626985
2015-02-04 16:17:36 +01:00
jir 2ad01aa2d1 [ADD] stock: "Stock Forecast" analysis view
Code courtesy of Jignesh Rathod <jir@odoo.com> and Josse Colpaert
<jco@odoo.com>.
2015-01-21 14:28:55 +01:00
Christophe Simonis 18e22be138 [MERGE] forward port of branch 8.0 up to 0aab81c 2015-01-19 17:15:56 +01:00
Akash Balar 88ace35fa4 [FIX] stock: putaway stategy access rights
Only admin was able to create product.putaway records. Gives all access
to warehouse manager.
If a putaway strategy was present on a location, a warehouse user was not able
to transfer goods as he had no access to the rule lines (no read to
stock.fixed.putaway.strat). Give read access. opw 619774
2015-01-13 09:42:05 +01:00
Aaron Bohy b1a863b60e [FIX] pos_barcodes module renamed in barcodes 2014-11-26 11:46:20 +01:00
Aaron Bohy 7464b3eab3 [IMP] pos_barcodes: pos_barcodes set as dependency of point_of_sale and stock (+ already used in PoS)
Conflicts:
	addons/stock/stock_view.xml
2014-11-26 11:46:03 +01:00
ssh-odoo 74115334f6 [FIX] stock: group dependency
When installing stock without account, the group group_account_invoice is not present.
Fixes #3117
2014-10-21 18:00:37 +02:00
cod-odoo 999300ce5d [IMP] sale,purchase: allow invoicing
(closes #500)

(cherry picked from commit 84c0595aef3a417702c81b5226ae1f61817a2bf8)
2014-09-25 11:18:44 +02:00
Christophe Simonis 73d39a0c8c [MERGE] forward port of branch saas-4 up to a361947 2014-07-10 22:12:16 +02:00
Christophe Simonis a35aec2a0b [MERGE] forward port of branch 7.0 up to 6e96ffd 2014-07-10 22:02:01 +02:00
Loïc Bellier 6e96ffd44c [FIX] stock: remove permission to create locations for partner managers
There's a big risk of mistake with the fast-create
feature and they don't need it

(Rebase of PR #1073)
2014-07-10 19:16:41 +02:00
Christophe Simonis 7a823e0e15 [FIX] stock: backport fixes from master 2014-07-01 17:11:46 +02:00
Josse Colpaert ad58b17e6e [IMP] Add security rules from bzr branch 2014-05-21 17:34:19 +02:00
Josse Colpaert fa355176d5 [IMP] Add read access for contact creation user on routes
bzr revid: jco@openerp.com-20140502144809-vkt5qufxn93u89ob
2014-05-02 16:48:09 +02:00
Josse Colpaert 8b84615de1 [MERGE] Merge from trunk test
bzr revid: jco@openerp.com-20140502130352-c3h1fk332eqyd78b
2014-05-02 15:03:52 +02:00
Richard Mathot (OpenERP) 2c3ec2c7e4 [REM] mrp/stock: remmove ACLs related to removed dashboards
bzr revid: rim@openerp.com-20140429081808-hytvlkp461zm2l4o
2014-04-29 10:18:08 +02:00
Quentin (OpenERP) 7ed26f1e07 [REF] product refactoring: prices.history model renamed into product.price.history + passed 'date' as real parameter instead of contextual one in get_history_price() because it makes more sense.
bzr revid: qdp-launchpad@openerp.com-20140428153355-vbuam1hfnah7m4wp
2014-04-28 17:33:55 +02:00
Quentin (OpenERP) 6ccdde1f9b [FIX] stock: fixed warning (added an access right for stock.fixed.putaway.strat model)
bzr revid: qdp-launchpad@openerp.com-20140423065826-33w9xmzu662zpac3
2014-04-23 08:58:26 +02:00
Foram Katharotiya (OpenERP) 96beccc05a [IMP] bring back the tests - backported from little after v7.0 in the trunk
lp bug: https://launchpad.net/bugs/1182515 fixed

bzr revid: ls@numerigraphe.com-20140404092409-q1c2cwg5m2fav7tn
2014-04-04 11:24:09 +02:00
Josse Colpaert d305b72bde [IMP] Apply the putaways from the pack ops
bzr revid: jco@openerp.com-20140303173147-x26oes0xaed6lqc8
2014-03-03 18:31:47 +01:00
Josse Colpaert 754b126f10 [IMP] Improve descriptions
bzr revid: jco@openerp.com-20140220163111-7glosa7deh60u1k8
2014-02-20 17:31:11 +01:00
Josse Colpaert 10123ce0c5 [IMP] Revert commit 9498 to have split between tracking of packages and tracking of serial numbers / lots /...
bzr revid: jco@openerp.com-20140130174711-2sl1rvnkx2ju2tef
2014-01-30 18:47:11 +01:00
Quentin (OpenERP) e147b6bbe7 [FIX] stock: access rights of stock.quant.package
bzr revid: qdp-launchpad@openerp.com-20140120152810-n4v72b467xvfuee4
2014-01-20 16:28:10 +01:00
Quentin (OpenERP) 92688b6922 [FIX] merged csn's branch with fix of access rights for stock.location.route as sock manager
bzr revid: qdp-launchpad@openerp.com-20140120150825-vxtrl08mr3dbl8k1
2014-01-20 16:08:25 +01:00
Quentin (OpenERP) b6a51daf90 [MERGE] merged csn branch with fixes of access rights on prices.history table
bzr revid: qdp-launchpad@openerp.com-20140120150334-8h6jg5wkwklc2c42
2014-01-20 16:03:34 +01:00
Cedric Snauwaert e9cd5df1f7 [FIX]access right for stock.location.route, stock manager should have right to write and unlink
lp bug: https://launchpad.net/bugs/1269050 fixed

bzr revid: csn@openerp.com-20140120093049-r41qwkjto2yqzfv5
2014-01-20 10:30:49 +01:00
Cedric Snauwaert d50d1ec56d [FIX]stock user should also be able to write on package
bzr revid: csn@openerp.com-20140117142225-2f89t2liw5mrknuo
2014-01-17 15:22:25 +01:00
Cedric Snauwaert 5176a374af [FIX]access right for stock.quant.package (should have access right for stock manager)
bzr revid: csn@openerp.com-20140117141923-3dr89jy97amny2tk
2014-01-17 15:19:23 +01:00
Cedric Snauwaert 9cb7aab2d0 [FIX]access right for prices.history (should be the same as the one for product)
bzr revid: csn@openerp.com-20140117135034-8m7798nqu1spz370
2014-01-17 14:50:34 +01:00
Quentin (OpenERP) 05da75b823 [REF] stock: reduced the number of options to track or not serial numbers to 1
bzr revid: qdp-launchpad@openerp.com-20140107152358-uwwfufkg3y1eob8l
2014-01-07 16:23:58 +01:00
Quentin (OpenERP) fc3b00578d [FIX] stock: installation error fixed (reference to account module which may not be installed) + stock_account: changed group implied by stock manager's one as group_account_invoice instead of group_account_user in order to give just as power as needed and not more
bzr revid: qdp-launchpad@openerp.com-20131231100228-dde6bm6w7h3qndci
2013-12-31 11:02:28 +01:00
Quentin (OpenERP) f5718efa6e [MERGE] merged with trunk
bzr revid: qdp-launchpad@openerp.com-20131230102802-y1ux8470wxnj4yfr
2013-12-30 11:28:02 +01:00
Denis Ledoux d7b1dafbab [FIX] stock: warehouse manager impliying account invoicing group is enough (no need to be accountant)
bzr revid: dle@openerp.com-20131219160345-jj68pdnkqjxm1f2o
2013-12-19 17:03:45 +01:00
Jitendra Prajapati (OpenERP) ebf0c80a00 [MERGE]with main
bzr revid: prajapatijitendra7969@gmail.com-20131212084543-j15w6z4y0osluijw
2013-12-12 14:15:43 +05:30