Commit Graph

226 Commits

Author SHA1 Message Date
Christophe Simonis 52cfc16c2e [MERGE] forward port of branch 7.0 up to revid 10012 launchpad_translations_on_behalf_of_openerp-20140424063249-gwnojb5kvlq544nz
bzr revid: chs@openerp.com-20140424123538-rxk9got9k2on1ki1
2014-04-24 14:35:38 +02:00
Martin Trigaux f43f406355 [MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcoding a warehouse as it's possible te user do not have access to it (e.g. multicompany), courtesy of Romain Deheele(Camptocamp)
bzr revid: mat@openerp.com-20140423100324-6stypg5uapnl1s5f
2014-04-23 12:03:24 +02:00
Christophe Simonis 822ef4a621 [MERGE] forward port of branch 7.0 up to revid 9943 launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: chs@openerp.com-20140401184913-5hi2h11lnmadbozr
2014-04-01 20:49:13 +02:00
david.leach@logicsupply.com d73baf5d1d [FIX] stock: while cancelling purcahse order created from procurement it availables the related internal stock move which should not and also not triggering the workflow method
bzr revid: ado@tinyerp.com-20140321055412-30i0ifkj8wnzmaer
2014-03-21 11:24:12 +05:30
Christophe Simonis 6f67143908 [FIX] *: do not call deprecated method LocalService()
bzr revid: chs@openerp.com-20131121120611-06h1pki3460tzj1s
2013-11-21 13:06:11 +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 a382e0cc2e [FIX] procurement: magic bypass transition was incomplete and preventing pulled flows from working
The procurement workflow has a magic `bypass` transition
that acts as a fallback for MTO procurements in case the
necessary modules are not (yet) installed. For example
it will consider a MTO+Buy procurement directly satisfied
if the Purchase module is not yet installed.
However this bypass transition did not properly take
"internal pulled flows" into account, which are added
by the `stock_location` module as a third kind of procurement
type. In this case the bypass would match and never
give stock_location the chance to run.
In order to be consistent with the other procurement
methods, the bypass transition needs to be adapted.

Also updated the check_move() method to make it more
explicit rather than a side-effect.

bzr revid: odo@openerp.com-20131112151747-da67h4yavhz3k29c
2013-11-12 16:17:47 +01:00
Ravi Gohil (OpenERP) e0da1f9696 [FIX] procurement: User belonging to the company other then the 'Your Company' would not be able to create record for object 'stock.warehouse.orderpoint'(Warehouse/Configuration/Reordering Rules) as it tries to get the default warehouse using xml_id(warehouse0) that does not belong to current user's company : (Maintenance Case : 596679)
lp bug: https://launchpad.net/bugs/1212429 fixed
lp bug: https://launchpad.net/bugs/1210195 fixed

bzr revid: rgo@tinyerp.com-20131101072943-8ruph03nkclb6mk7
2013-11-01 12:59:43 +05:30
Christophe Simonis 9a775cd3f5 [MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748-x4jnibwyab4gam23
bzr revid: chs@openerp.com-20131021141431-5bdk9waai17julkb
2013-10-21 16:14:31 +02:00
Martin Trigaux 6ba45e5cbf [FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3
bzr revid: mat@openerp.com-20131021095735-yz9pb5pphfdgl44j
2013-10-21 11:57:35 +02:00
Denis Ledoux 1a555475cc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9529 rev-id: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
bzr revid: dle@openerp.com-20131018121236-zp221von16vekthp
2013-10-18 14:12:36 +02:00
Martin Trigaux b60da2a9a3 [IMP] procurement: track only once the change of state to exception and confirmed
bzr revid: mat@openerp.com-20131017113521-5u2k9glb3o7cnmmk
2013-10-17 13:35:21 +02:00
Martin Trigaux b98f935d27 revert change of workflow
bzr revid: mat@openerp.com-20131017104426-260y7v0113q8iue9
2013-10-17 12:44:26 +02:00
Martin Trigaux b801e6eab9 [IMP] procurement: better workflow
bzr revid: mat@openerp.com-20131016150335-oikqm6twbukp666t
2013-10-16 17:03:35 +02:00
Olivier Dony 8ac110c4dd [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5098 rev-id: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
bzr revid: dle@openerp.com-20131009131902-a93nsbou4w8y0vlx
bzr revid: chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: dle@openerp.com-20130924130544-kmkyr0d73cusvdav
bzr revid: odo@openerp.com-20131011134433-nyfjipvlql4xu127
2013-10-11 15:44:33 +02:00
Martin Trigaux 4c0c18b803 [FIX] purchase: avoid getting trigger loop (again), apply same fix on procurement to be consistent
bzr revid: mat@openerp.com-20131004153915-2urkq50bp8rnddnt
2013-10-04 17:39:15 +02:00
Ravi Gohil (OpenERP) 4b21537eb3 [FIX] procurement: User belonging to the company other then the 'Your Company' would not be able to create record for object 'stock.warehouse.orderpoint'(Warehouse/Configuration/Reordering Rules) as it tries to get the default warehouse using xml_id(warehouse0) that does not belong to current user's company : (Maintenance Case : 596679)
lp bug: https://launchpad.net/bugs/1212429 fixed

bzr revid: rgo@tinyerp.com-20130918122703-db7o8sz7t6hn3s8i
2013-09-18 17:57:03 +05:30
Ravi Gohil (OpenERP) 7e5afef402 [FIX] procurement: User belonging to the company other then the 'Your Company' would not be able to create record for object 'stock.warehouse.orderpoint'(Warehouse/Configuration/Reordering Rules) as it tries to get the default warehouse using xml_id(warehouse0) that does not belong to current user's company : (Maintenance Case : 596679)
lp bug: https://launchpad.net/bugs/1212429 fixed

bzr revid: rgo@tinyerp.com-20130918090905-wkby3xazxbwoih90
2013-09-18 14:39:05 +05:30
Ravi Gohil (OpenERP) 74e054201b [FIX] procurement: User belonging to the company other then the 'Your Company' would not be able to create record for object 'stock.warehouse.orderpoint'(Warehouse/Configuration/Reordering Rules) as it tries to get the default warehouse using xml_id(warehouse0) that does not belong to current user's company : (Maintenance Case : 596679)
lp bug: https://launchpad.net/bugs/1212429 fixed

bzr revid: rgo@tinyerp.com-20130918090244-edabc3uq6mfmx7vu
2013-09-18 14:32:44 +05:30
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Xavier ALT e141ed8546 [MERGE] OPW 583829: procurement: do not duplicate procurement related to stock.move on stock.picking duplication
forward-port of v6.0 addons revid: xal@openerp.com-20130227112039-ftdb0kbx1midtuvu

bzr revid: xal@openerp.com-20130227112652-nq88898nlk431u15
2013-02-27 12:26:52 +01:00
Quentin (OpenERP) 3fe67314cc [MERGE] forward port of fixes made in version 7
bzr revid: qdp-launchpad@openerp.com-20130214100628-0eaudbqhflpmjjyf
2013-02-14 11:06:28 +01:00
csn-openerp b409abe3ad [FIX]procurement : put back size limit on field message since some db in saas were not update and we need to truncate to size=124 for those
bzr revid: csn@openerp.com-20130213154137-4jl6h3c8dn4xpguf
2013-02-13 16:41:37 +01:00
Raphael Collet f66e33f36d [IMP] rename model method 'trigger_workflow' into 'step_workflow' (less confusing)
bzr revid: rco@openerp.com-20130213150136-rg0llzdr4tzizise
2013-02-13 16:01:36 +01:00
Raphael Collet 6bd409246d [IMP] remove model methods _workflow_trigger and _workflow_signal, and replace calls to new workflow methods
bzr revid: rco@openerp.com-20130213140052-9q6s9m3x6ye0qy35
2013-02-13 15:00:52 +01:00
Raphael Collet 5f855a1ddb [MERGE] from trunk
bzr revid: rco@openerp.com-20130213083519-3nbg40h5em0gfeu3
2013-02-13 09:35:19 +01:00
csn-openerp 69c97ec9e3 [FIX]procurement : fix traceback in _check_make_to_stock_product when message was too large
bzr revid: csn@openerp.com-20130205085901-hzdkqh24nnhvah31
2013-02-05 09:59:01 +01:00
csn-openerp cb0a76f312 [FIX]procurement : fix infinite loop in workflow transition due to a write
bzr revid: csn@openerp.com-20130204163151-ryyabvw5zjsa0bwm
2013-02-04 17:31:51 +01:00
csn-openerp 9bd291f48f [FIX]procurement : traceback in sql request when message was too large -> changed to write and removed limit size
bzr revid: csn@openerp.com-20130201145702-m35h1spf9jx02swr
2013-02-01 15:57:02 +01:00
Ajay Chauhan (OpenERP) fc374647a9 [IMP] procurement: use the new signal_xxx methods instead of trg_validate.
bzr revid: cha@tinyerp.com-20130131111952-tnq7iiwj9u5opyge
2013-01-31 16:49:52 +05:30
Vo Minh Thu f6fd7368a2 [IMP] procurement: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128100038-6dyftmdm8tfn6j5k
2013-01-28 11:00:38 +01:00
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Thibault Delavallée cd290565a4 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219093924-5rqmhb6ve7bv7qzl
2012-12-19 10:39:24 +01:00
Olivier Dony 03b6acd13d [MERGE] Access inherited product fields on the product directly rather than template, courtesy of Alexis de Lattre (Akretion)
It makes the code a little more straightforward and does not hurt.

bzr revid: odo@openerp.com-20121218225015-6r9ydxjlh147m3z1
2012-12-18 23:50:15 +01:00
Fabien Pinckaers 41f7f27881 [IMP] several subtype fixes
bzr revid: fp@tinyerp.com-20121218220617-d6ebdlkf1facw4x8
2012-12-18 23:06:17 +01:00
Fabien Pinckaers c131a7062e [FIX] invoice created by delivery order
bzr revid: fp@tinyerp.com-20121218154855-hjwwfj3q3033oyn0
2012-12-18 16:48:55 +01:00
Quentin (OpenERP) b8e3477f06 [MERGE] procurement workflow fixes + removal of a unused file hr_payroll_account/hr_payroll_account_workflow.xml
bzr revid: qdp-launchpad@openerp.com-20121218161136-dqcinl0gputptkt3
2012-12-18 17:11:36 +01:00
Raphael Collet 73980eba5f [MERGE] trunk-import-openerp-thu (use strict naming convention when importing openerp stuff)
bzr revid: rco@openerp.com-20121218085914-qzr2upqfxmfbzfsx
2012-12-18 09:59:14 +01:00
Olivier Dony 411d6d931d [FIX] sale,purchase: allow SO/PO long description to propagate to procurement.order and stock.move, remove size limits
bzr revid: odo@openerp.com-20121217222827-ga62qttp4wxzu7rv
2012-12-17 23:28:27 +01:00
Cecile Tonglet a3939acfa5 [FIX] replace from/import decimal_precision by from/import openerp.addons.decimal_precision
bzr revid: cto@openerp.com-20121217152303-8e3b1x30rlw9cb0d
2012-12-17 16:23:03 +01:00
Quentin (OpenERP) 6c98483d6f [FIX] mrp, mrp_jit, procurement: fix of the procurement order workflow
bzr revid: qdp-launchpad@openerp.com-20121217144136-hen0i0op21f4z1y1
2012-12-17 15:41:36 +01:00
Quentin (OpenERP) 4dd9751d5e [IMP] mrp, procurement: procurement workflow documented
bzr revid: qdp-launchpad@openerp.com-20121217103104-vrlm8z02ha6cpa13
2012-12-17 11:31:04 +01:00
Quentin (OpenERP) 0c0c081676 [FIX] purchase, procurement: workflow of procurement order fixed
bzr revid: qdp-launchpad@openerp.com-20121214163921-hevj7um2n7jf8e1p
2012-12-14 17:39:21 +01:00
Quentin (OpenERP) a26b04c921 [FIX] procurement, mrp, project_mrp: refactored the worflow in order to fix the case where mrp wasn't installed and we configured a product as mto with type=='produce'
bzr revid: qdp-launchpad@openerp.com-20121214145833-32q17yb2gw5rlhed
2012-12-14 15:58:33 +01:00
Quentin (OpenERP) 724b34b3b3 [REF] procurement: changed the method check_product() into is_product(), which is more meaningful + replaced weird code with a raise to see if it is used somewhere (i doubt)
bzr revid: qdp-launchpad@openerp.com-20121214142305-2jhdu8fbhshfh4f4
2012-12-14 15:23:05 +01: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
Fabien Pinckaers cd68364301 [MERGE] English typos
bzr revid: fp@openerp.com-20121102173407-umicel4287htim14
2012-11-02 18:34:07 +01:00
Fabien Pinckaers bccdc81e1c [MERGE] stock: forecasted qty
bzr revid: fp@tinyerp.com-20121102093744-1f21pi5npww7abcl
2012-11-02 10:37:44 +01:00