Commit Graph

63 Commits

Author SHA1 Message Date
Goffin Simon 0f5a72e0a4 [FIX] purchase: Currency in Purchase Analysis
"Total Price" and "average price" in purchase analysis must take into account the currency.
Inspired from caf333eb59

opw:644621
2015-07-14 14:18:59 +02:00
Guewen Baconnier 96b53126a2 [IMP] purchase: Purchase report uses the state of lines instead of purchases
So canceled lines of not-canceled orders are correctly represented in the
analysis.
2015-06-08 18:19:20 +02:00
Adil Houmadi f2ef46e9f4 [FIX] product: purchase report, correct warehouse
Fix stock warehouse column on purchase report,
we need to join stock_picking_type and stock_warehouse
in order to have the warehouse itself

Closes #6409
2015-04-23 13:23:40 +02:00
qdc f57787e07e [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
Christophe Simonis 5a5f811d23 [REVERT] commit 5e5c73e
Branch 8.0 is a **stable** branch. This mean no database schema
changes.
2014-08-22 13:59:22 +02:00
qdc 5e5c73e7ba [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-22 09:49:09 +02:00
Géry Debongnie 366a30db95 [FIX] correct various date issues in reporting
* remove old 'day', 'month', 'field' and replace them by the actual
date/datetime field
* remove weird cast to char when creating the view to prevent crash
when grouping on them
* remove duplicates (such as 'creation_date' and 'create_date')
* fix typing errors (field type date defined as a datetime in the
postgres view)
* fix search view definition
2014-07-30 15:11:22 +02:00
Quentin (OpenERP) 3b6d4d5eff [FIX] purchase: partial revert of preceeding commit where i messed with the merge with trunk and totally remove purchase/report while the psql view needs to be kept
bzr revid: qdp-launchpad@openerp.com-20140228163934-rrf3fsxcoo0nta0h
2014-02-28 17:39:34 +01: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
Quentin (OpenERP) 753f7541db [MERGE] main trunk
bzr revid: qdp-launchpad@openerp.com-20140203173000-mk092iw2wz3y0e3e
2014-02-03 18:30:00 +01:00
Gery Debongnie 90f2184e93 [IMP] improves the Purchase Analysis reporting view, removes old Day, Month, Year field from the postgres view and updates the dashboard graph view (addon purchase)
bzr revid: ged@openerp.com-20140129124739-6sir9fz6jak9ic0y
2014-01-29 13:47:39 +01:00
Quentin (OpenERP) df2d5e148e [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20131129165644-fx0m3ok07l41o507
2013-11-29 17:56:44 +01:00
Olivier Dony 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Olivier Dony 4cf2887153 [FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once
The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.

bzr revid: odo@openerp.com-20131105101930-f2qbcp12luom08je
2013-11-05 11:19:30 +01:00
Olivier Dony aac6fede99 [FIX] purchase: Purchase Analysis view was using incorrect JOIN order
The starting table for Purchase Analysis is purchase_order_line
not purchase_order. The previous code was using a wrong JOIN
combination starting from purchase_order, which resulted in
a crash if an empty PO was created.
In order to prevent this an extra  WHERE clause on product_id
being NOT NULL was added, but this was incorrect too as it
prevented PO lines with no product_id value from appearing
in the Purchase Analysis results, while being perfectly valid.

bzr revid: odo@openerp.com-20131104165826-kltuzlh4i8q89sk0
2013-11-04 17:58:26 +01:00
Josse Colpaert cc3dfdd3c0 [IMP] Change warehouse to picking_type_id on purchase + put destination address after picking type + adapt packaging
bzr revid: jco@openerp.com-20130903134600-7jraor07pqp8ijpo
2013-09-03 15:46:00 +02:00
Josse Colpaert 96ea6418c6 [IMP] Change standard_price field of product into a property: requires changing SQL queries
bzr revid: jco@openerp.com-20130417150213-4nm9tc8nzvsgm5ix
2013-04-17 17:02:13 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02: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
Mayur Maheshwari (OpenERP) 0b87880029 [IMP]all: imporve string state to status
bzr revid: mma@tinyerp.com-20121012114258-w2q3hg1wb5wlt8wi
2012-10-12 17:12:58 +05:30
Quentin (OpenERP) 80bcef50bf [MERGE] lp:1016372
bzr revid: qdp-launchpad@openerp.com-20120823135654-mc708n5kx1s609yp
2012-08-23 15:56:54 +02:00
Quentin (OpenERP) 0bcf969ec7 [MERGE] lp: 932059 (removal of dead state in PO)
bzr revid: qdp-launchpad@openerp.com-20120814143751-e14dqq9ofcf69jgb
2012-08-14 16:37:51 +02:00
Ajay Chauhan (OpenERP) 56150b1aef [FIX] Purchase: set value for field expected_date in purchase.order
lp bug: https://launchpad.net/bugs/1016372 fixed

bzr revid: cha@tinyerp.com-20120622113237-88laaa8603jr0k73
2012-06-22 17:02:37 +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
Bharat Devnani (OpenERP) 3662f7e5db [REM] removed res.partner.address reference from purchase module, just need to solve 'test/process/edi_purchase_order.yml' yml and its references
bzr revid: bde@tinyerp.com-20120305132539-1u8zok2ccy6csemu
2012-03-05 18:55:39 +05:30
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
Fabien Pinckaers 0fbeafdf5f merge
lp bug: https://launchpad.net/bugs/731035 fixed

bzr revid: fp@tinyerp.com-20110924130915-gnjedwh616xa3w0c
2011-09-24 15:09:15 +02:00
aag (OpenERP) 645d0a870d [FIX] purchase,sale : one category can have several UoM references than it will not give error msg when open related Report
lp bug: https://launchpad.net/bugs/731035 fixed

bzr revid: aag@tinyerp.co.in-20110701115628-500ttalfgqlhifnx
2011-07-01 17:26:28 +05:30
Sbh (OpenERP) 516dea919a [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20101230132409-5g7rxqwocghtr1ar
2010-12-30 18:54:09 +05:30
qdp-launchpad@tinyerp.com 32589e25b4 [MERGE] merged the xrg branch containing several bugfixes
bzr revid: qdp-launchpad@tinyerp.com-20101230115309-drnbznu04hx52cbj
2010-12-30 12:53:09 +01:00
Sbh (OpenERP) 42001ee76f [MERGE] merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20101229070055-l8rf6xlk6pjyrur0
bzr revid: sbh@tinyerp.com-20101229083843-83ypw4f0ecxfv68e
bzr revid: sbh@tinyerp.com-20101229091103-mkxpoao8otcyyux5
2010-12-29 14:41:03 +05:30
P. Christeas 47b85907f3 purchase/report: Avoid division by zero with NULLIF [Bug 692698]
This has to be attributed to Dr. Ferdinand Gassauer, who reported
the issue and first published the patch.

bzr revid: p_christ@hol.gr-20101227085038-gy580ywddr43e3ar
2010-12-27 10:50:38 +02:00
rha@tinyerp.com 0a97c08aed [Fix]: Bug #692698 purchase analysis - division by zero
bzr revid: rha@tinyerp.com-20101223093700-53cspuk8klp27h8q
2010-12-23 15:07:00 +05:30
rpa (Open ERP) c12c88eb01 [MREGE]: Merge with lp:~openerp-commiter/openobject-addons/dev-addons2-rha1
bzr revid: rpa@tinyerp.com-20101222123722-0fa3kerln033csfa
2010-12-22 18:07:22 +05:30
rha@tinyerp.com 876bcf590b [Fix]: Bug #691433 purchase.report view model does not work
bzr revid: rha@tinyerp.com-20101220130736-lgn6zmsxpskzfw54
2010-12-20 18:37:36 +05:30
pso a0c6493743 [FIX] account, sale, purchase: Improved analysis report
lp bug: https://launchpad.net/bugs/673835 fixed

bzr revid: pso@tinyerp.com-20101220122422-kqao990cf3q582df
2010-12-20 17:54:22 +05:30
VRO(OpenERP) ad114aa4be [IMP]: Purchase Dashboard.
bzr revid: rch_open_erp-20101001122135-gt5spyszlo18tttp
2010-10-01 17:51:35 +05:30
qdp-launchpad@tinyerp.com 79bd0f6fe5 [MERGE] merged the procurement/purchase branch
bzr revid: qdp-launchpad@tinyerp.com-20100927144521-nv1251qq36ana24s
2010-09-27 16:45:21 +02:00
sbh (Open ERP) 0c5efd6ead [IMP] purchase: Improve the Purchase analysis report
bzr revid: sbh@tinyerp.com-20100916121219-4w1ug3idx8r5ss17
2010-09-16 17:42:19 +05:30
apa-tiny 10d6fc19cc [IMP]:sale,purchase:imroved SQL reports
bzr revid: apa@tinyerp.com-20100709100541-6mt5i6uc47zafp0j
2010-07-09 15:35:41 +05:30
apa-tiny 9ef8ae2cef [IMP]:sale,purchase:imroved SQL reports
bzr revid: apa@tinyerp.com-20100709093856-jqgcv6m4e8usswr1
2010-07-09 15:08:56 +05:30
nel@tinyerp.com 177bd4c707 [MERGE]
bzr revid: nel@tinyerp.com-20100706073853-j2nnt94p0abn9y1e
2010-07-06 09:38:53 +02:00
nel@tinyerp.com 02051df96e [
bzr revid: nel@tinyerp.com-20100706072605-8srddc5av8o96w3z
2010-07-06 09:26:05 +02:00
rch(OpenERP) 0042fdf5c6 [IMP]:purchase:improved purchase dashboard.
bzr revid: apa@apa-20100702122630-vh0jz3sugn396fe8
2010-07-02 17:56:30 +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
Fabien Pinckaers 1ff14e9ceb [FIX] purchase report
bzr revid: fp@tinyerp.com-20100613090134-4hs79c7709pmhltr
2010-06-13 11:01:34 +02:00
nel@tinyerp.com c63d4327a7 [fix]price
bzr revid: nel@tinyerp.com-20100610191324-p2dapmlfj495gszc
2010-06-10 21:13:24 +02:00
nel@tinyerp.com 958cf4bbbe [IMP] project_issue, purchase, sale reports
bzr revid: nel@tinyerp.com-20100604175417-4u3jzricew1j7i96
2010-06-04 19:54:17 +02:00
nel@tinyerp.com 661a10ae7e change label
bzr revid: nel@tinyerp.com-20100503092340-qkm8rgl70ux3ipp4
2010-05-03 11:23:40 +02:00
apa-tiny da53f2831e [IMP]:purchase:improved search view..(Purchase Order).
bzr revid: apa@tinyerp.com-20100430105501-bkxd2hifzinkbrkl
2010-04-30 16:25:01 +05:30