~tempo-openerp/+junk/axima_ax_64

« back to all changes in this revision

Viewing changes to view/sale.xml

  • Committer: vg at tempo-consulting
  • Date: 2014-10-01 13:09:48 UTC
  • Revision ID: vg@tempo-consulting.fr-20141001130948-404eilrv4lwbdije
[IMP] sale order: remise globale saisie en pourcentage qui calcule le montant globale de la remise

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
                <!-- remise globale -->
241
241
                <xpath expr="/form//field[@name='amount_untaxed']" position="before">
242
242
                    <field name="global_discount_rate" widget="percent"
243
 
                        on_change="on_change_global_discount_rate(global_discount_rate, amount_untaxed, context)" />
 
243
                        on_change="on_change_global_discount_rate(global_discount_rate, context)" />
244
244
                    <field name="global_discount" widget="monetary"
245
245
                        options="{'currency_field': 'currency_id'}"
246
 
                        readonly="1" />
 
246
                        invisible="1" /> <!-- champ de base calcul remise globale caché car saisi via pourcentage, NE DOIT PAS ETRE MIS EN READ ONLY CAR DOIT TJS ETRE WRITé -->
247
247
                </xpath>
248
248
                
249
249
               <!-- éléments inutilisés masqués -->