Commit Graph

73 Commits

Author SHA1 Message Date
Denis Ledoux 3609ba10f2 [FIX] procurement: refactor scheduler so it continues even if a procurement failed
If the mrp scheduler fails during the treatment of a procurement (due to a postgresql error, like an update lock), we let it try the other procurements, instead of stopping at the first procurement which fails.
Besides, we retry to treat the procurements which failed, until the list of the remaining procurements is always the same (meaning something is wrong and block the procurements treatment).
2014-08-12 11:02:15 +02:00
Christophe Simonis 465d83e880 [FIX] procurement: procurement orders does not have a `warehouse_id` field
bzr revid: chs@openerp.com-20131126134952-cotbhc8s60zj44ts
2013-11-26 14:49:52 +01:00
Olivier Dony fe2fd41d7d [FIX] procurement: order points must procure goods in the specifiedt warehouse
The default warehouse picked by procurements only works
for companies that only have on warehouse

bzr revid: odo@openerp.com-20131112130612-brmazfdghrh1ck7x
2013-11-12 14:06:12 +01:00
Olivier Dony 9b6f5dca9a [FIX] procurement: background procurement scheduler should be working in batch mode, with one transaction per order
A programming error during an older refactoring lead to
the scheduler working with a single monolithic transaction.
This could cause unnecessary resource contention, plus
undesired rollback of all previous operations in the event
of an exception during scheduling.

bzr revid: odo@openerp.com-20130701163532-8bekn7sbb99ua08c
2013-07-01 18:35:32 +02:00
Josse Colpaert 0b5788eec7 [FIX] Purchase ok (can be purchase) should only be used for domains
bzr revid: jco@openerp.com-20130402115254-mtp113vyk4yhlmyb
2013-04-02 13:52:54 +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
RGA(OpenERP) 2ee00a9527 [fix] add hook in purchase to fix warrning of field 'purchase_id' does not exist on browse
bzr revid: rgaopenerp-20121004074334-ardk1mi41e5hmabc
2012-10-04 13:13:34 +05:30
Fabien Pinckaers 043dc83d20 [IMP] mails
bzr revid: fp@tinyerp.com-20120817125004-wcchhac2cvxuf93i
2012-08-17 14:50:04 +02:00
Fabien Pinckaers b62858e83e [IMP] Merging different ways of posting a message:
message_append_note
  message_append_dict
  message_append
  --> merged all to message_post

bzr revid: fp@tinyerp.com-20120817100302-bqsqv23ogrchslew
2012-08-17 12:03:02 +02:00
Thibault Delavallée 9532bbb033 [FIX] procurement_order: moved a chatter message from user to the procurement.order; deleted second message_append_note that was never called, because of a void variable.
bzr revid: tde@openerp.com-20120814191603-u1lsovhurrvuxbm4
2012-08-14 21:16:03 +02:00
Rucha (Open ERP) 22b70d9aa0 [FIX]: procurement: Fixed using purchase_id field in scheduler, it was causing error because if we donot install purchase module we do not have purchase_id field
bzr revid: rpa@tinyerp.com-20120717120235-rv353ffpx5p9moh9
2012-07-17 17:32:35 +05:30
Thibault Delavallée 11d6850f16 [CLEAN] Final code review and fixing before merging.
bzr revid: tde@openerp.com-20120601144059-ut9922dquiip4c4u
2012-06-01 16:40:59 +02:00
Thibault Delavallée 5e3d5f73ec [IMP] procurement/scheduler: scheduler messages based on res.request are now posted on user wall.
bzr revid: tde@openerp.com-20120601132517-8bkwomz8ds7bzonp
2012-06-01 15:25:17 +02:00
Kuldeep Joshi (OpenERP) c9ce120fcd [IMP] add procurement message
bzr revid: kjo@tinyerp.com-20120531105601-lju4w4fdyz4fvlyx
2012-05-31 16:26:01 +05:30
Kuldeep Joshi (OpenERP) 01911098bd [IMP] change the code
bzr revid: kjo@tinyerp.com-20120531100706-6uorv0x8uo7511y8
2012-05-31 15:37:06 +05:30
Sbh (Openerp) 62801561b7 [IMP] remove res.request
bzr revid: sbh@tinyerp.com-20120531100433-900ajiubvd3m8b5d
2012-05-31 15:34:33 +05:30
8bc627669f [FIX] removed uncessary import
bzr revid: guewen.baconnier@camptocamp.com-20120316134052-yc2r2ux44t1urvhg
2012-03-16 14:40:52 +01:00
678f12b39d [FIX] procurement: schedulers, removed the unsupported keyword arg order= in read method
bzr revid: guewen.baconnier@camptocamp.com-20120316085626-x9t8ufpsm4pqonqz
2012-03-16 09:56:26 +01:00
Raphael Collet 0aa97b90d5 [MERGE] lp:915541 (procurement: performance fix)
bzr revid: rco@openerp.com-20120125134057-5gk1tirfr7pvdsgy
2012-01-25 14:40:57 +01:00
Mayur Maheshwari (OpenERP) 3635ade2e4 [FIX]procurement: added read method instead of browse method
lp bug: https://launchpad.net/bugs/915404 fixed

bzr revid: mma@tinyerp.com-20120117120531-xg0acpsb4vt3gwe3
2012-01-17 17:35:31 +05:30
Olivier Dony b174c95716 [MERGE] procurement: refactoring of OP procurement creation via scheduler, courtesy of Guewen Baconnier (Camptocamp)
bzr revid: odo@openerp.com-20111223152343-ff33fimz31lz3csc
2011-12-23 16:23:43 +01:00
f410cf430b [IMP] procurement: get date_planned in _prepare
bzr revid: guewen.baconnier@camptocamp.com-20111221163037-lskhyypy46et0gts
2011-12-21 17:30:37 +01:00
aaea2a59ec [IMP] procurement: refactored the automatic orderpoint procurement create with a _prepare method
bzr revid: guewen.baconnier@camptocamp.com-20111221162348-rwqck280jpnvrj1t
2011-12-21 17:23:48 +01:00
ff717f16d0 [IMP] procurement: refactored the orderpoint procurement creation with a _prepare method and _get_orderpoint_date_planned
bzr revid: guewen.baconnier@camptocamp.com-20111221153610-0shk07fnihsc79j0
2011-12-21 16:36:10 +01:00
DBR (OpenERP) 38aa5ab1b8 [Merge]with: lp:openobject-addons
bzr revid: dbr@tinyerp.com-20111110092719-bw74ofhw2717xxfo
2011-11-10 14:57:19 +05:30
Quentin (OpenERP) 8490a55722 [IMP] procurement: faster computation by the scheduler. Original idea from Omar (Pexego)
bzr revid: qdp-launchpad@openerp.com-20111027144815-l2m1jmkfpubh8g1q
2011-10-27 16:48:15 +02:00
Harry (OpenERP) 5cdac204cd [MERGE] merged parent branch
bzr revid: hmo@tinyerp.com-20111020073513-3np4krmflvtwqhuk
2011-10-20 13:05:13 +05:30
Harry (OpenERP) b8229bd2eb [IMP] procurement: move run_scheduler method into schedulers.py file
bzr revid: hmo@tinyerp.com-20111020072723-zx2k4mngl57n0a28
2011-10-20 12:57:23 +05:30
Quentin (OpenERP) 00c0894d91 [MERGE] lp:802322
bzr revid: qdp-launchpad@openerp.com-20111018084234-ele9nnaowd83nrsv
2011-10-18 10:42:34 +02:00
ron@tinyerp.com 3ac0b6a7b9 [IMP]Procurment: Fixed:when scheduler is run by admin all new PO of other company/warehouse is having wrong company (of admin) instead of respective
bzr revid: ron@tinyerp.com-20110920090222-np5er3i3q9onay07
2011-09-20 14:32:22 +05:30
ron@tinyerp.com 5b7af7eb60 [IMP]procurement, purchase: Improved PEP standard
bzr revid: ron@tinyerp.com-20110916132442-lp0kaaik6bubyj2q
2011-09-16 18:54:42 +05:30
ron@tinyerp.com 191952b5b8 [IMP]procurement: Removed active field conditon from product search query, Added sorting by order of read query, removed unnecessary len used
bzr revid: ron@tinyerp.com-20110916130150-zd0x5fvhpy6808ws
2011-09-16 18:31:50 +05:30
ron@tinyerp.com 70e83c0d9c [IMP]procurment: Added context on search method
bzr revid: ron@tinyerp.com-20110915084300-5algmu80v5n7472i
2011-09-15 14:13:00 +05:30
ron@tinyerp.com 4ac423a87a [IMP]procurment, purchase, stock: Improved stock demo data, added limit and offset in search query, improved
query if company_id not avail, also improved code of make_po() function

bzr revid: ron@tinyerp.com-20110915083333-ab8p3kp8lu1fvq53
2011-09-15 14:03:33 +05:30
ron@tinyerp.com f059576ba8 [IMP]procurment:Fixed=>changed the all select queries which bypassed the record rules in procurment.py and schedular.py,and change the output location configuaration with company_id=False because of that it will be access by child company
bzr revid: ron@tinyerp.com-20110705061750-7g73nancsfijk0re
2011-07-05 11:47:50 +05:30
ron@tinyerp.com 4aa687cf3f [FIX]purchase,procurement:Fixed=>Generate Sale order via Non admin User Po generated with wrong warehouse and company ,For information Traceback Generated after run the ORDERPOINT it is a sequence problem and it has been fixed in lp:787052 :
lp bug: https://launchpad.net/bugs/802322 fixed

bzr revid: ron@tinyerp.com-20110629051800-u71iztvvtbgsyzuq
2011-06-29 10:48:00 +05:30
ron@tinyerp.com fecd5e29f4 [IMP]procurement:improvements in lines breack code
bzr revid: ron@tinyerp.com-20110606103604-gh7o9jpm5lfnc3ay
2011-06-06 16:06:04 +05:30
ron@tinyerp.com bcb551f338 [IMP]procurement:fixed=>Lines breaks in Traslation string
bzr revid: ron@tinyerp.com-20110606101233-o3hi56uin99gdj60
2011-06-06 15:42:33 +05:30
ron@tinyerp.com 4887184977 [IMP]procurement:Improvement in Traslation string
bzr revid: ron@tinyerp.com-20110602120455-lgadptlti782btgm
2011-06-02 17:34:55 +05:30
ron@tinyerp.com e95c182608 [FIX]procurement:Fixed:procurement scheduling report=>not Translation properly
lp bug: https://launchpad.net/bugs/783135 fixed

bzr revid: ron@tinyerp.com-20110518125234-9cea4larl1uub313
2011-05-18 18:22:34 +05:30
qdp-launchpad@tinyerp.com 0355890a99 [REF] procurement: used list comprehension]
bzr revid: qdp-launchpad@tinyerp.com-20101220141633-aewi7uadalsu66jr
2010-12-20 15:16:33 +01:00
qdp-launchpad@tinyerp.com fdc4490860 [IMP] crm, marketing_campaign: usability imp. + [REF] procurement: removed unused variable
bzr revid: qdp-launchpad@tinyerp.com-20101220113820-u9a2aewa4bshw9jx
2010-12-20 12:38:20 +01:00
rpa (Open ERP) 4e307d022c [MERGE]: Merge with lp:openobject-addons
bzr revid: rpa@tinyerp.com-20101215042654-04ccazkz5v57ml3j
bzr revid: rpa@tinyerp.com-20101216043335-ji5h61dra451cml4
bzr revid: rpa@tinyerp.com-20101220082255-1g3ea50rkjlacwqw
2010-12-20 13:52:55 +05:30
ksa (Open ERP) 5183ffc5f6 [IMP]: Improve changes related task 1847
bzr revid: ksa@tinyerp.co.in-20101210112624-gxuc6rhbogexugvg
2010-12-10 16:56:24 +05:30
ksa (Open ERP) 818650bea6 [IMP]: Improve changes related task 1847
bzr revid: ksa@tinyerp.co.in-20101210093419-6kk2698px6hpwvte
2010-12-10 15:04:19 +05:30
rpa (Open ERP) be834b5704 [MERGE]: Merge with lp:~openerp-dev/openobject-addons/ron-dev-addons2
bzr revid: rpa@tinyerp.com-20101208071722-vc93ea47suuqt9am
2010-12-08 12:47:22 +05:30
rpa (Open ERP) b6e743433b [MERGE]: Merge with lp:~openerp-dev/openobject-addons/ksa-addons2
bzr revid: rpa@tinyerp.com-20101207104811-ccx204cbxp2p56kh
2010-12-07 16:18:11 +05:30
ron@tinyerp.com cdbdc6e29c [FIX]mrp:procurement from orderpoints is generated for non-active,non-purchasable products
lp bug: https://launchpad.net/bugs/627936 fixed

bzr revid: ron@tinyerp.com-20101206111342-bw85c5h0ckn6v0mq
2010-12-06 16:43:42 +05:30
ksa (Open ERP) 7969b68250 [IMP]:Improve in wizard of schedular
bzr revid: ksa@tinyerp.co.in-20101206053421-fr6j4hvo056xm5fv
2010-12-06 11:04:21 +05:30
ksa (Open ERP) 20eb39e68e [IMP]: improve schedular wizard for confirm order point
bzr revid: ksa@tinyerp.co.in-20101203122634-3pvqng4i89vvjy6n
2010-12-03 17:56:34 +05:30