Commit Graph

27 Commits

Author SHA1 Message Date
Goffin Simon e588d85315 [FIX] product_expiry: 'product_id' in context
When creating a new lot from an incoming picking transfer, the product_id
is written in the context.

opw:674608
2016-05-03 09:40:41 +02:00
Olivier Dony 9804c54634 [FIX] product_expiry: performance issues due to extra write() call
When creating thousands of production lots in batch, the
extra call to write() cuts performance in 2, and can be
replaced by an appropriate context when calling super(),
as all the default values are computed correctly.

The only case that could possibly fail is when the product_id
is not passed to the create() call but comes instead from
defaut values (ir.values).
This case is very rare and considered a manual exception
where the expiry dates can be input manually.
2016-03-04 19:15:28 +01:00
Lionel Sausin a0d44f9952 [IMP] update the expiry dates when changing the product
Written in the new API even though the rest is in the old API, because otherwise we'd have to add an onchange in the views which may be a problem for existing custom modules.

We want this behavior because previously, in some cases the default values were only added at create() time, ie. possibily when the users close the pop-up, so they may never have an opportunity to see and adjust the default.
2015-09-01 18:04:45 +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
Josse Colpaert c8a8f3c78d [IMP] FEFO takes FIFO if no lot, location_id and dest_id by default for pack op 2014-06-02 18:20:18 +02:00
Christophe Matthieu 43977deb71 [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
Quentin (OpenERP) 4987c9d42d [FIX] stock, product_expiry: fixes of removal fefo and putaway processing
bzr revid: qdp-launchpad@openerp.com-20140414083303-5vwlnakof0vcbtri
2014-04-14 10:33:03 +02:00
Quentin (OpenERP) 2fd72600fa [REF] stock: refactored the removal and putaway strategies + added FEFO removal in product_expiry
bzr revid: qdp-launchpad@openerp.com-20140411171901-ibjelg7wldld167y
2014-04-11 19:19:01 +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 d544a585e1 [REF] product_expiry: removed openerp.pooler imports.
bzr revid: vmt@openerp.com-20130327135327-6ik2cu30kbfcnu6a
2013-03-27 14:53:27 +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 7f1c95a3b6 [IMP] better wording
bzr revid: fp@tinyerp.com-20121113073654-rdqgryi5crww11uo
2012-11-13 08:36:54 +01:00
Numerigraphe - Lionel Sausin 7761ff23bb [IMP] improve help texts regarding Serial Numbers
bzr revid: ls@numerigraphe.fr-20121023144625-mu3942a64fuvavru
2012-10-23 16:46:25 +02:00
Raphael Collet 44e8013b39 [IMP] product_expiry: fix English capitalization
bzr revid: rco@openerp.com-20120509135050-xmqpjdgcqhlz9b5e
2012-05-09 15:50:50 +02:00
Jagdish Panchal (Open ERP) 18653db6f2 [IMP] mrp,mrp_repair,stock: Rename fields Production Lot >> Serial Number and also rename the fields in stock congi wizard
bzr revid: jap@tinyerp.com-20120424130805-dbfdz0f4j440vy2h
2012-04-24 18:38:05 +05:30
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
rpa (Open ERP) 4805ba8743 [FIX, MERGE]: product_expiry: Fixed help texts
lp bug: https://launchpad.net/bugs/664344 fixed

bzr revid: rpa@tinyerp.com-20101104095101-c5kf0gmfsgcewbh2
2010-11-04 15:21:01 +05:30
Numerigraphe - Lionel Sausin 7dc16e99f2 [IMP] product_expiry: proper help texts
lp bug: https://launchpad.net/bugs/664344 fixed

bzr revid: ls@numerigraphe.fr-20101021080837-o81w2malpyr2v1l3
2010-10-21 10:08:37 +02:00
P. Christeas ddb8793c9b product_expiry: return False as default for unknown dates
This /might/ solve a problem with fields_view_get().

bzr revid: p_christ@hol.gr-20101019073628-538wuaxmipzcvjxb
2010-10-19 10:36:28 +03:00
MTR(OpenERP) d781b93335 [IMP] product_margin, product_expiry,product_manufacturer: improve and cleaning
bzr revid: mra@mra-laptop-20100813072843-l72opp20yoiik3pg
2010-08-13 12:58:43 +05:30
Fabien Pinckaers cff5d130d1 merge
bzr revid: fp@tinyerp.com-20100623152451-v1ibzl70zr5my8iv
2010-06-23 17:24:51 +02:00
Fabien Pinckaers 9c3da9c251 [FIX] sale,purchase,stock
bzr revid: fp@tinyerp.com-20100621184058-try3rw3m59uc4e55
2010-06-21 20:40:58 +02:00
nel@tinyerp.com c6eae9c717 [IMP] claim
bzr revid: nel@tinyerp.com-20100615124114-b3l2s343ueiz883e
2010-06-15 14:41:14 +02:00
nel@tinyerp.com 32e4fdd40e [ADD]stock :split
bzr revid: nel@tinyerp.com-20100615090933-sr3xl66g4q6x7rcb
2010-06-15 11:09:33 +02:00
nel@tinyerp.com fe6e6e43c1 [ADD] product_expiry
bzr revid: nel@tinyerp.com-20100614112930-nsefgdaw3cety5a6
2010-06-14 13:29:30 +02:00
ced 968a2cb4eb Move less used modules to extra_addons repo
bzr revid: ced-67ee0e1f0bad58fd390763b2b5a6c7d233c48223
2007-08-10 07:50:08 +00:00
pinky a83dce15e0 New trunk
bzr revid: pinky-dedd7f8a42bd4557112a0513082691b8590ad6cc
2006-12-07 13:41:40 +00:00