Commit Graph
6707 Commits
Author SHA1 Message Date
Fabien Pinckaers 90c4489a07 [IMP] Creation date is confusing since its not the creation date in order point with po lead times. And user want the scheduled date rather than the creation one 2015-07-29 15:14:35 -07:00
Fabien Pinckaers 43e3663d93 [FIX] Scheduling of orderpoint: it was wrong to add the supplier lead time at every rocurment (what do you do if you manufature) and wrong for PO: you were always late 2015-07-29 14:52:29 -07:00
Josse Colpaert 6ef158b63b [IMP] stock: getting quants methods refactor
The methods for getting the quants took a lot of parameters,
as in most of the cases (only exception being the negative
quants reconcile) the parameters depended on the move/pack operation
being processed.  By just passing the move and ops the code gets simpler.

There should also only be one place where most of the domain for searching the quants
based on the move/ops is calculated.
2015-07-29 17:45:16 +02:00
Jignesh Rathod 7d70000a12 [IMP] stock : Improve return mechanism.
When a location is marked as return location,
upon a return it can be put it in the possible return locations,
when it is in the same warehouse or under the same parent location.

The push rules are also applied on returned moves now, but
only when the push rule does not return the return to the original location

The lot in the return line is removed as it does not make sense
(better to change it on the pack operations)
and the views are cleaned

The returned picking is also automatically reserved.
2015-07-29 13:27:41 +02:00
Joren Van Onder b7cec33182 [IMP] product: don't allow modification of UOM's from odd views
This is to avoid users accidentally breaking inventory values.
2015-07-28 23:05:08 +02:00
Josse Colpaert e00c33b89e [IMP] stock: Picking type in picking assign
When assigning a move to picking upon confirmation,
it took into account the locations/group of the picking,
but it should also check they are of the same picking type.
2015-07-24 15:56:24 +02:00
Josse Colpaert a3859b6ee8 [IMP] Cancelling a purchase order should cancel the procurements (and the subsequent moves) instead of putting them into exception
By default the rules are propagate True, so when you cancel a purchase order,
it will cancel all subsequent moves and put the procurement to cancel too.
This means that for an MTO product it will put the original sale order in shipment exception.
If it is not propagate, it will not cancel the subsequent moves and put the procurement in exception.

The advantage of this change, is that when procurements are created from orderpoints and
you cancel the purchase orders, then you don't need to go run/cancel
the procurements in exception anymore (if propagate True)
2015-07-24 15:48:27 +02:00
Nandan Jani c505f00c3e [ADD] stock,delivery: delivery slip for pickings 2015-07-23 13:46:51 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
bpa-odoo 3eed48ffcf [IMP] stock: change reordering rule stat button text
Now depends on the number of reordering rules. If the
number == 1, the min and max qty for this rule are
displayed instead of the "Reordering Rules" string.
2015-07-20 15:47:26 +02:00
Josse Colpaert 4679e2dcb1 [IMP] stock: Act windows from dashboard should have a name corresponding to the picking type and current inventory should be by location first 2015-07-17 16:56:09 +02:00
Yannick Tivisse e9ad290221 [IMP] stock : small test improvement 2015-07-17 15:32:31 +02:00
Josse Colpaert 2dead5e3cb [FIX] stock: error message for serial number needs browse on id 2015-07-17 13:31:07 +02:00
Yannick Tivisse f6825a7606 [IMP] stock: rename Rename "Manual selection of products"
into "Manual Adjustment: no created lines" in stock.inventory model
2015-07-17 11:11:33 +02:00
Fabien Pinckaers 5a3d0947f2 [IMP] Supplier --> Vendor 2015-07-16 14:55:20 -07:00
Martin Geubelle e628011b0d [IMP] account,sale,stock: mobile one2many kanbans
One2many kanban views already implemented in some form views but not displayed.
To notice : mode='...,kanban' is needed for all the views in the one2many widget to be loaded.
Kanban view (mobile friendly) will be selected instead of tree view on mobile.
2015-07-16 16:48:12 +02:00
Yannick Tivisse 3376b747bb [FIX] stock : Move Stock Moves menuitem from group_locations to group_no_one 2015-07-14 15:16:58 +02:00
Martin Trigaux a7205fd3cf [IMP] stock: better labels and help
Descriptions like "technichal field" gives no information on the meaning of a
field and how it should be interpreted.
2015-07-13 13:30:49 +02:00
Christophe Simonis 4a2aee45be [MERGE] forward port of branch 8.0 up to 9654b54 2015-07-10 17:12:57 +02:00
Yannick Tivisse 2fcd356317 [IMP] stock,procurement : stat button procurement, ux improvements 2015-07-10 15:25:44 +02:00
Yannick Tivisse af4702006f [FIX] Bug introduced by commit e58b16a589 2015-07-10 11:27:43 +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 fd14f44dd3 [IMP] Future Stock --> Forecasted Quantity 2015-07-09 17:06:38 -07:00
Fabien Pinckaers 7e0647a09f [IMP] Supplier --> Vendor. American English 2015-07-09 16:01:50 -07:00
Thibault Delavallée 2c36354ca9 [RENAME] mail, website_mail, website_mail_group, various: mail.group
model has been renamed to mail.channel to prepare the slack modeling.

In future commits the mail.group model will be merged with the channel
model from im_chat. The first move is to rename mail.group into
mail.channel to have a model that will unite both features.
2015-07-09 11:12:50 +02:00
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
Holger Brunn 1e8f8eabec [IMP] procurement, stock: make procurement.rule.name and stock.location.route.name translatable
Closes #4222
2015-07-08 13:42:59 +02:00
Erwin van der Ploeg 91985d7eae [FIX] stock: visibility of "Recheck Availability"
If a picking is partially available and some lines are waiting another operation
2015-07-08 11:39:13 +02:00
Martin Trigaux df07ec1fc1 [FIX] stock: French in error message
I like Frenchmen very much, because even when they insult you, they do it so nicely.
  -- Josephine Baker
2015-07-08 11:21:42 +02:00
Lionel Sausin 7fb37b3e89 [FIX] stock: missing default filter for quants menu
Most (if not every) other ways to open a list of quants has default filters to
include only internal locations.

Closes #7501
2015-07-08 09:30:33 +02:00
Christophe Simonis fe92deaa1d [MERGE] forward port of branch 8.0 up to 2de301d 2015-07-07 18:13:57 +02:00
Christophe Simonis acc7d20ea9 [MERGE] forward port of branch saas-3 up to ac865c8 2015-07-07 15:12:41 +02:00
Christophe Simonis ac865c8a78 [MERGE] forward port of branch 7.0 up to 9fa7624 2015-07-07 13:58:35 +02:00
Nicolas Martinelli 9fa7624e25 [FIX] stock: onchange_quantity and onchange_uos_quantity use rounding
It is necessary to round the quantities with the appropriate precision. Indeed,
since onchange_quantity and onchange_uos_quantity trigger each other indirectly,
it is quite easy to fall in an infinite loop if the uom and uos precisions are
different.

Follows commit 6e346f0adb

opw-643651
2015-07-07 11:25:19 +02:00
Raphael Collet cd925255b7 [FIX] addons: view extensions are no longer based on attribute string
In view inheritance, selecting an element based on the attribute `string` is
broken, since this attribute may be translated before the inheritance is
applied.  This fixes existing views to avoid such selections.
2015-07-06 16:58:04 +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
Loïc BELLIER 34b9f43011 [FIX] stock: add location in context on prodlot search
To be consistant with the results of _get_stock. Otherwise search made on
stock_available may not display results with the same value than the search
criteria.
Fixes #3976
2015-07-06 14:41:56 +02:00
Lionel Sausin (Numérigraphe) a55a768d61 [FIX] stock: colors in tree view
Missing part from e28e01a

Closes #6785
2015-07-06 10:07:59 +02:00
Josse Colpaert 995cb87c62 [IMP] stock: No need to do recompute when creating/writing pack operations manually
There is no need in recomputing each time the link between pack operations and
moves, when changing a pack operation.  It would change the remaining qty
on the move, but this is not shown anywhere.

In the tests of wise_operator, when moving pack operations to another picking,
the links shoud be deleted as it is not done somewhere else
2015-07-06 10:04:20 +02:00
Odoo Translation Bot fe3835faff [I18N] Update translation terms from Transifex 2015-07-05 01:52:32 +02:00
Josse Colpaert d2b4b3909e [IMP] stock: Improve lots with serial numbers, define lot tracking by picking type and convert stock with lot False to a lot when necessary
Instead of having only outgoing, manufacturing, incoming, all... traceability on the product,
we can define on the product if there is no tracking, lot tracking or unique serial number tracking.
On the picking type we can define whether we will only create lots for the picking type or use existing lots.

The lots are required when the product and the picking type demand it.

The option for serial number will check that each piece (quantity 1) has its
own serial number.

A lot splitting wizard is added on the pack operations in the picking form.

We want to be able to handle the case where we receive a lot of iPads e.g. and we
only assign a serial number when the product is delivered.  For this, when the product is
delivered, we see that we only have products with no lots.  When we see that we take something
without lot for something that needed one, we assign the lot to that piece of stock.

For negative quants: a positive quant with no lot can reconcile with a negative quant with/without lot,
a positive quant with lot, will preferably reconcile with a negative quant with the same lot, afterwards
with that without lot.
2015-07-03 17:50:35 +02:00
Nicolas Martinelli 6e346f0adb [FIX] stock: product_uos_qty must have the precision of Product UoS
If 'Product UoS' has a higher precision than 'Product Unit of Measure', the
method onchange_uos_quantity will be called over and over by an infinite loop
if 'product_uos_qty' doesn't have the sufficient number of decimals.

opw-643651
2015-07-03 16:42:34 +02:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
Nicolas Martinelli e69a9b1ea8 [FIX] stock: modify default destination location for Pick
Ship in 2 steps:
The Packing zone location is inactive but it is used by default as destination
location (instead of Output) in the Pick operation.

opw-643734
2015-07-02 15:35:17 +02:00
Josse Colpaert d9371fce85 [IMP] stock: Stock picking report improvement
Only one picking report that shows the operations. Warning message when no operations.
Change title.
2015-07-02 15:02:52 +02:00
Goffin Simon 6531f4063a [FIX] stock: origin of push picking
To determine the origin of a push picking.

opw:641887
2015-07-02 09:20:47 +02:00
Fabien Pinckaers 1ac91f444a [IMP] better terminology to avoid having customer selecting Inventory instead of Internal 2015-07-01 16:45:55 -07:00
Mohammed Shekha 14780ca16a [IMP]contact widget: Improve contact widget used in qweb reports, added option phone_icons to show icons in phone related fields 2015-07-01 15:36:38 +02:00
Christophe Simonis 429ea59bac [MERGE] forward port of branch 8.0 up to 3aae565 2015-07-01 11:45:18 +02:00
Denis Ledoux fcc2852a27 [FIX] stock, jit: run isn't supposed to be called without jit
This is related to ddfc07a6a2.

If procurement_jit_stock is not installed,
the method `run` of `procurement.order` is not
supposed to be called
2015-06-30 18:34:03 +02:00