Commit Graph
44 Commits
Author SHA1 Message Date
William Henrotin d9f45ba694 [IMP] product,stock{_picking_batch}: product labels revamp
This commit removes the pdf and zpl reports for product templates and
variants. Instead, labels are printed via a new wizard allowing to
specify the label quantity, format and optional text.

There are a bunch of usual retail label sizes in pdf or zpl code

Task : 2501730

closes odoo/odoo#69690

Related: odoo/enterprise#20246
Related: odoo/upgrade#2542
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-09-01 15:01:48 +00:00
Tiffany Chang (tic) 53cc41016f [IMP] mrp, product, {purchase_, sale_}stock{_picking_batch}: add reception report
New reception report added for non-outgoing transfers. This is intended
to support easier stock allocations by allowing dynamic MTO
assignment/unassignment, e.g. if we have an incoming transfer with
products we want to assign to an existing outgoing transfer, then we can
use the report to create a MTO link to the specific outgoing moves. To
support this assignment flow, the report also allows printing of labels
to place on the product so stock workers know which transfer/MO the
product has been assigned to.

Expected use case is when a product is purchased to fulfil a sale.
Demo data has been added so reception report can be immediately
seen/used for this flow.

Implementation Notes:
- Report has been made flexible to work with batch transfers.
- Only done moves can be assigned to moves that already have quants
  reserved (prevents undesired behavior + this makes sense logically)
- Confirmed (+ Done and everything inbetween) moves can be assigned to
  any confirmed moves that are not already assigned.
- Report does not affect quant reservation/unreservation at all. It
  works only with linking moves (i.e. move_orig_id/move_dest_id) so
  move/transfer linkage traceability is stored within db (i.e. this
  isn't possible with quants)

Limitations: To keep code simple for now, this assignment flow will
  break in certain cases:
1. Done amount of an assigned move is less than the Demand amount
   (linked move will not autoreserve correctly when assigned move is
   validated, same issue already occurs in multi-step transfer).
2. If a linked move is unreserved after its assigned move is
   validated, then another move can reserve its quants and its
   assignment link will not be accurate.
3. Already reserved SNs + assign move, may lead to mismatching SNs
   between report and what's actually reserved.
4. Changing a linked move's Demand amount after a move is assigned to
   it.
5. Potential moves to assign to are only checked for being in same
   warehouse, not in a matching source location to destination location.
   User is expected to make this match on their own.

Task: 2500844
ENT PR: odoo/enterprise#18268
Upgrade PR: odoo/upgrade#2731

closes odoo/odoo#70669

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2021-08-17 11:42:23 +00:00
svs-odooandsle-odoo 288fdacaf7 [IMP] stock: forecasted report
Adds the Replenishment Report, a printable report on product variants
and product templates. This report displays all draft and planned moves.
It has also the purpose to be overridden to handle purchase and sale
lines, and product's consumptions/productions of manufacturing orders.
Documents listed in the report can be accessed by clicking on their name.

task-2058495

Co-authored-by: sle-odoo <sle@odoo.com>
2020-07-31 12:36:54 +00:00
Simon Lejeune b6f053b25e [REF] stock: multi company
Ensure proper domains are applied and enforced on relation fields thanks
to the `check_company` attributes.

product.template
- make responsible a property field in order to ensure proper next activities when a product
  is used between multiple companies
stock.putaway.rule
- added a company_id field
stock.move.line
- company_id is not related anymore since a move line can exist without a move until its validation
stock.package_level
- added a company_id field
stock.picking.type
- company_id is now required
stock.production.lot
- added a company_id field, adapted the constraint accordingly
stock.quant
- check the consistency only in inventory mode
stock.quant.package
- company_id is now empty if the package is empty
stock.picking
- company_id is now related to the one of its picking type

Added some tests.
Moved stock_traceability in the `report` directory.
Removed useless /tests/tours/route.js.

task-1985992
2019-09-03 15:05:03 +00:00
Arnold Moyaux b311d9ccba [ADD] stock: report forecast quantity
Create a new report in order to see quantity in the past
and in the future. Also display the planned in and out moves
at their schedule date. The view available for this report is
a graph view even if it could be display with other views.

Technically it's an SQL views based on stock.quant and stock.move
Currently the interval for the report is -3 months, +3 months because
the forecast quantity is based on quants - moves during this interval
in order to keep a linear performance that's not growing with the data.

task: 2000948

closes odoo/odoo#34898

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-07-16 15:20:49 +00:00
Arnold Moyaux dc35b88411 [DEL] stock, mrp: remove report forecast
It will be replaced by an easier report that will
dispaly the cumulative forecast and the planned in/out
moves.
2019-07-16 08:26:54 +00:00
Pierre Masereel 94a3919d09 [ADD] stock, sale_stock, purchase_stock, mrp: Routes 2D report
We are adding a new report available on products that displays all the
routes applicable on the products and dislay them as arrows between the
different locations.

We also display the putaway rules and reordering rules on locations
where they are applied.

TASK-46972
2018-08-10 11:25:01 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Pratima Gupta 2560feec04 [REM] stock: latest inventories and moves report
The functionaility is available through a filter on the inventory
adjustment view or through the stock moves of a product.
2017-03-16 17:53:28 +01:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Simon Lejeune 59d6ce7b30 [REM] stock: remove stock level forecast report 2015-01-21 15:22:29 +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
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Josse Colpaert b01a61e396 [WIP] Remove unnecessary reports
bzr revid: jco@openerp.com-20140317150409-wusdimhx4hx001to
2014-03-17 16:04:09 +01:00
Quentin (OpenERP) f8470c94ee [REF] stock: put some order in inventory psql reports (on quants) in labels, files and code
bzr revid: qdp-launchpad@openerp.com-20131205181052-gsnlps6ifvm016az
2013-12-05 19:10:52 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Mayur Maheshwari (OpenERP) 4f149e642b [IMP]stock:Improvement in yml
bzr revid: mma@tinyerp.com-20110729111953-0mbb9za6nhn0hhl9
2011-07-29 16:49:53 +05:30
Olivier Dony 788881af5d [MERGE:IMP] merge addons-stock branch with latest improvement to Warehouse Management
bzr revid: odo@openerp.com-20101011175802-n705sldw70bp4xpx
2010-10-11 19:58:02 +02:00
apa-tiny f75a5aff91 [REM]:stock:removed lot location report.(same as location overviwe.)
bzr revid: apa@tinyerp.com-20101008061523-vmbl352ty3m5yhk5
2010-10-08 11:45:23 +05:30
sbh (Open ERP) 2b835bccc6 [REM] stock : Remove the stock_picking report
bzr revid: sbh@tinyerp.com-20100924110556-bgnci35flqhd6t57
2010-09-24 16:35:56 +05:30
apa-tiny 3d8ef9592c [ADD/IMP]:Added and improved Inventory report(Location Overview).
bzr revid: apa@tinyerp.com-20100908110226-qjon55qwrt5w2jz8
2010-09-08 16:32:26 +05:30
rch (Open ERP) c7fe3f25c5 [IMP]: Improve
bzr revid: rch_open_erp-20100908082741-ipae36x6djqxjetu
2010-09-08 13:57:41 +05:30
JMA(OpenERP) 7767c3b63e [Add] stock :Add the inventory report
bzr revid: sbh@tinyerp.com-20100813053709-yxid0du3jqru4h8v
2010-08-13 11:07:09 +05:30
uco (OpenERP) 42443c892d [IMP] crm, hr, project, stock, sale: Menu Re-organization.
bzr revid: uco@tinyerp.com-20100617100451-75hoxnbpjoo1clie
2010-06-17 15:34:51 +05:30
Fabien Pinckaers 5239c16639 [IMP] reports on stock and purchases
bzr revid: fp@tinyerp.com-20100613155305-z4glzp5h7cq8rzw9
2010-06-13 17:53:05 +02:00
qdp-launchpad@tinyerp.com ab3736820c [IMP] stock: import statement was twice in the same __init__ file
bzr revid: qdp-launchpad@tinyerp.com-20100505114020-94ojibtj4qkzx0b2
2010-05-05 13:40:20 +02:00
sbh (Open ERP) b2f65a704e [MERGE]:Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons1
bzr revid: sbh@tinyerp.com-20100426070946-rhuzngfp6dmvwoj1
2010-04-26 12:39:46 +05:30
mso 620fb3c029 [ADD] stock: Task id :596 Postgres view of stock moves with filters & groups
bzr revid: mso@mso-20100423053435-vxut3668xvwn75pz
2010-04-23 11:04:35 +05:30
mso 90a928648c [IMP] stock: Postgres view of stock moves with filters
bzr revid: mso@mso-20100422072331-pqsvqctax37chmt1
2010-04-22 12:53:31 +05:30
Vir (Open ERP) 9917c46524 [ADD/MOD] picking sql report, changes in comment in production report
bzr revid: vir@tinyerp.com-20100317070245-nwj2iigi1ryl1qwf
2010-03-17 12:32:45 +05:30
apa-tiny 606f433ba6 [MOVE]:stock:moved the report.py and report_view.xml in report folder.
bzr revid: apa@tinyerp.com-20100312114045-fi3tpjvynoqktmy3
2010-03-12 17:10:45 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
PSO(OpenERP) eb0b928cc0 Changed licencing terms
bzr revid: hda@tinyerp.com-20091014111534-1vtk21rz8byhszzf
2009-10-14 16:45:34 +05:30
ChristopheChauvet(syleam) 41e8ed59ef changed encoding to coding in all py files
lp bug: https://launchpad.net/bugs/357182 fixed

bzr revid: hda@tinyerp.com-20091013055837-3ntnbe8b938xmk97
2009-10-13 11:28:37 +05:30
Naresh Choksy 0ddc4083e8 improved stock reports: continued.....
bzr revid: nch@tinyerp.com-20090527134215-kz7nmyv4em9ydsby
2009-05-27 19:12:15 +05:30
Stephane Wirtel 21f104a506 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221250-55q32ayj2t8kzb2k
2009-01-04 23:12:50 +01:00
Christophe Simonis f5fad0ba30 passing modules in GPL-3
bzr revid: christophe@tinyerp.com-20081103191856-jhcivvwb16fvz2os
2008-11-03 20:18:56 +01:00
Fabien Pinckaers 11bc61d204 modifs
bzr revid: fp@tinyerp.com-20080917074951-b7z409hh5rafzm0g
2008-09-17 09:49:51 +02:00
Najlaa 4ce5db1263 Reporting
bzr revid: nel@silver-20080909124637-5br6745udncyemvd
2008-09-09 14:46:37 +02:00
Christophe Simonis 3e3d897e88 add encoding comment and vim comment
bzr revid: christophe@tinyerp.com-20080723144147-77o5t9adx26a84lt
2008-07-23 16:41:47 +02:00
stw 0feb782c6a add Copyright and GPL license into the Header of Python files
bzr revid: stw-d9a6d631f7cfdab5a120a6b0104ce2dbf8644841
2008-06-16 11:00:21 +00:00
Dhara Shah e020089f9c bzr revid: dsh@tinyerp.com-92882fb8bdfe355b1baaa3bc320f7df6722a93e5 2007-04-24 04:39:28 +00:00
Dhara Shah cc33d33ca5 new report for the stock location
bzr revid: dsh@tinyerp.com-9c62398a94bc068efc4be0837a07625834b5d79b
2007-04-13 11:56:59 +00:00
pinky a83dce15e0 New trunk
bzr revid: pinky-dedd7f8a42bd4557112a0513082691b8590ad6cc
2006-12-07 13:41:40 +00:00