Commit Graph

160 Commits

Author SHA1 Message Date
Christophe Simonis 327e471c9b [MERGE] forward port of branch saas-3 up to b62ee07 2015-05-21 14:19:24 +02:00
Christophe Simonis b62ee0734c [MERGE] forward port of branch 7.0 up to eaaca65 2015-05-21 14:11:39 +02:00
Nicolas Martinelli 9c6ae3cf6c [FIX] mrp_operations: adapt the date_planned of the WO when date_planned of MO is changed
Changing the scheduled date (date_planned) of the MO triggers a computation
of the scheduled date of the associated WO in order to keep the data
consistent.

Fixes #6694
opw-639771
2015-05-20 16:57:09 +02:00
Christophe Simonis 8ac8281a7f [MERGE] forward port of branch saas-3 up to d3e7a8e 2015-04-10 18:35:34 +02:00
Christophe Simonis d3e7a8ef5e [MERGE] forward port of branch 7.0 up to 856bc6f 2015-04-10 18:24:46 +02:00
Denis Ledoux 0b684b950f [FIX] mrp_operations: missing params in overriding methods
The context wasn't defined in the below methods:
- action_production_end
- action_in_production

while it is defined in the base methods, in the mrp module.
This doesn't lead to any issue in standard
modules, but it prevents to correctly
override these methods within custom modules
when mrp_operations is installed.

opw-632425
2015-04-09 10:22:30 +02:00
Martin Trigaux e84b569fe4 [FIX] mrp_operation: missing context
It is present in mrp declaration but was not in mrp_production which was problematic if another module inherit as well from action_produce_end.
2014-11-26 09:18:53 +01:00
Josse Colpaert 25d2ed6d4b [IMP] Update module descriptions of procurement and product_extended + _bom_find and properties
Module description of procurement was deprecated (talking about mrp, ...) and in product_extended
it described things not implemented in the module.

In _bom_find, we passed a UoM which was not used in Saas-4 and it would not be logical that you
need to select a BoM that matches the UoM, so I removed it.

In the demo data, there was still a push rule which triggered a move from output to pack.  The copy=False
is correct for production_id when you would have these push rules.

For the properties: we want to allow to take a bom which has no properties, but only when there is no other
BoM matching the properties we pass.

Update module descriptions

[IMP] production_id copy + no round

[IMP] _bom_find without uom, property correction
2014-09-30 10:31:33 +02:00
Quentin THEURET 356be5f077 [FIX] mrp_operations: use list instead of record set for o2m
In v7, accessing a o2m returned a list of browse record while it returns a recordset in v8.
The method _move_pass expects a list so a manual conversion is required.
Fixes #1787
2014-08-18 15:20:02 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Josse Colpaert af0468c418 [WIP] Remove picking except state on mrp order
bzr revid: jco@openerp.com-20140423094807-za7855wkx2vlr0di
2014-04-23 11:48:07 +02:00
Quentin (OpenERP) 2006e8d6be [MERGE] _compute_planned_workcenter passes wrong magic value for absent calendar_id. Courtesy of Holger Brunn (Therp)
lp bug: https://launchpad.net/bugs/1297352 fixed

bzr revid: qdp-launchpad@openerp.com-20140403093833-923ly0uz860gd3i2
2014-04-03 11:38:33 +02:00
Holger Brunn 266b553aa8 [FIX] pass correct magic value for resource
[FIX] typo

lp bug: https://launchpad.net/bugs/1297352 fixed

bzr revid: hbrunn@therp.nl-20140325151047-6sd0irzu4e85i5ru
2014-03-25 16:10:47 +01:00
Vo Minh Thu 34c97e9802 [FIX] mrp_operations: undefined name.
bzr revid: vmt@openerp.com-20130726135830-86mrf92bz49rhqzb
2013-07-26 15:58:30 +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
ggh-openerp 3b73e2b2a4 [IMP]Removed space before Exclamation marks [!]
bzr revid: ggh@tinyerp.com-20130429071557-vnxo5nni03vc886j
2013-04-29 12:45:57 +05:30
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 9bb5ee90e4 [IMP] removed unused netsvc imports.
bzr revid: vmt@openerp.com-20130222161029-zecwro75yra2vz0d
2013-02-22 17:10:29 +01:00
Tejas Tank eebaf0767e [IMP] mrp_operation: use the new ORM methods create_workflow, delete_workflow, redirect_workflow.
bzr revid: tta@openerp.com-20130131120047-9ehhi00keo0p6gjq
2013-01-31 17:30:47 +05:30
Vo Minh Thu 45ba35783f [IMP] mrp_operations: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128163403-dmbb0a1y0ejbt66t
2013-01-28 17:34:03 +01:00
Thibault Delavallée 67905b2dda [REF] Mrp_operation: added track on production_id of mpr.production.workcenter.line, removed extra chatter messages.
bzr revid: tde@openerp.com-20121218171146-zudtlz4f263zbzbd
2012-12-18 18:11:46 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Quentin (OpenERP) d2d65234ed [MERGE] mrp usability
bzr revid: qdp-launchpad@openerp.com-20121212111001-4ozzlwc46kue2982
2012-12-12 12:10:01 +01:00
Paramjit Singh Sahota 4fd400982c [IMP] Reverted the onchange_enddate functions code. And make it as was in previous.
bzr revid: psa@tinyerp.com-20121210052554-hw7ep3rvvi3fr7wg
2012-12-10 10:55:54 +05:30
Paramjit Singh Sahota c5ef9fa145 [IMP] Removed unwanted code.
bzr revid: psa@tinyerp.com-20121207132401-3uqa0or06nynl2hb
2012-12-07 18:54:01 +05:30
Paramjit Singh Sahota a347798d7e [IMP]Improved code of onchange.
bzr revid: psa@tinyerp.com-20121207100329-te2a7ff8qgnv6xtl
2012-12-07 15:33:29 +05:30
Paramjit Singh Sahota 68a1b5c238 [IMP]Improved code for the onchange and make it compatible for SAVE and ONCHANGE both.
bzr revid: psa@tinyerp.com-20121207083353-zs9hqz1lrqgeor6b
2012-12-07 14:03:53 +05:30
Paramjit Singh Sahota 26248d180d [IMP] Improved Code.
bzr revid: psa@tinyerp.com-20121207044129-7p117rb8mpwfryba
2012-12-07 10:11:29 +05:30
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Paramjit Singh Sahota f0fffad521 [IMP] Removed unwanted code.
bzr revid: psa@tinyerp.com-20121206093738-o2ll5bvopyp68nnd
2012-12-06 15:07:38 +05:30
Paramjit Singh Sahota bd8250a3cb [IMP] Improved onchange.
bzr revid: psa@tinyerp.com-20121206090038-umqu0sce210mtmpp
2012-12-06 14:30:38 +05:30
Paramjit Singh Sahota 7dd72cb382 [IMP] Improved onchange.
bzr revid: psa@tinyerp.com-20121206045529-1j686ek9cf3tl1uk
2012-12-06 10:25:29 +05:30
Paramjit Singh Sahota 4521ee8108 [IMP] Improved code for the End Date field: which should be updated automatically if you change the Scheduled Date.
bzr revid: psa@tinyerp.com-20121203062209-t57bjlhw0vkraeg0
2012-12-03 11:52:09 +05:30
Paramjit Singh Sahota 77a640594e [IMP] Improved.
bzr revid: psa@tinyerp.com-20121203053238-mv0xz9mexf651f87
2012-12-03 11:02:38 +05:30
Paramjit Singh Sahota 09eeab5cdf [IMP] Improved code.
bzr revid: psa@tinyerp.com-20121203050607-dvx596nf8qjs3yub
2012-12-03 10:36:07 +05:30
Paramjit Singh Sahota 28a17a63fe [IMP] Added code for the onchange
Product to Produce:
Product field + Quantity field + Unit of Measure field
should be filled automatically via onchange if you created/selected a Manufacturing Order before saving

bzr revid: psa@tinyerp.com-20121130112434-ajfuq8h0f5u21qyy
2012-11-30 16:54:34 +05:30
Paramjit Singh Sahota 852bbeaa01 [IMP] Added code for onchange schedule date.
bzr revid: psa@tinyerp.com-20121130093440-t8bvs5fl7z7kot10
2012-11-30 15:04:40 +05:30
Paramjit Singh Sahota 8ad111af91 [IMP]Improved code for Production Status field should show Draft before saving.
bzr revid: psa@tinyerp.com-20121129083922-ptdosthtbrilfunj
2012-11-29 14:09:22 +05:30
Amit Patel 3e4e8006de [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121025070133-x6g4can9le7p4d5z
2012-10-25 12:31:33 +05:30
Foram Katharotiya (OpenERP) 7f64cbd875 [IMP] remove date_start_date function field
bzr revid: fka@tinyerp.com-20121023062230-l6941b0lt7qx4wzu
2012-10-23 11:52:30 +05:30
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
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +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
help c5427f3faa [IMP]improved exception warnings as per suggestion
bzr revid: help-20120731124210-7vjw7puesjm3884p
2012-07-31 18:12:10 +05:30
pso (OpenERP) d51e0da926 [IMP]: Improved warning message for mrp
bzr revid: pso@tinyerp.com-20120718065550-0phn8tsxqouyopd0
2012-07-18 12:25:50 +05:30
Hardik d953d45de4 [IMP]MRP : Warning Messages are changed
bzr revid: hsa@tinyerp.com-20120712064359-rfoj2ol3stj4j4yc
2012-07-12 12:13:59 +05:30
Fabien Pinckaers 5c791531aa [IMP] improved typos
bzr revid: fp@tinyerp.com-20120522161055-6013qr1s4p773hoj
2012-05-22 18:10:55 +02:00
Amit Patel (OpenERP) 1aefff9733 [MERGE]:merged from trunk
bzr revid: apa@tinyerp.com-20120517101517-npk57s14kgxlk7in
2012-05-17 15:45:17 +05:30
Saurang Suthar (OpenERP) a2a05cfc19 [IMP]:improved titles State by Status everywhere
bzr revid: ssu@tinyerp.com-20120504115748-2vd1dns7bxptg384
2012-05-04 17:27:48 +05:30