~unifield-team/unifield-web/utp-171

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/form.py

  • Committer: jf
  • Date: 2012-11-27 10:19:30 UTC
  • mfrom: (4673.1.2 uf-1539)
  • mto: This revision was merged to the branch mainline in revision 4678.
  • Revision ID: jfb@tempo-consulting.fr-20121127101930-id0p15nhtjz3jpms
UF-1539 [FIx] Issue on stock replenishment rules
OEB-164 [FIX] Unsaved records created each time we launch a popup from a button
lp:~unifield-team/unifield-web/uf-1539
lp:~openerp-dev/openobject-client-web/6.0-opw-581388-xal

Show diffs side-by-side

added added

removed removed

Lines of Context:
596
596
    def duplicate(self, **kw):
597
597
        params, data = TinyDict.split(kw)
598
598
 
 
599
        if not params.ids:
 
600
            params.ids = []
 
601
 
599
602
        id = params.id
600
603
        ctx = params.context
601
604
        model = params.model