← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 556657] Re: o2m list widget string not translated

 

This is the XML that produces both screenshots I submitted.  There are
several sums in the XML, the two shown in the screenshots are:

                    <field colspan="4" name="line_ids" nolabel="1" widget="one2many_list">
                        <tree string="Receipt Lines" editable="bottom">
                            <field name="reference" string="Invoice Reference"/>
                            <field name="partner_id" string="Partner" select="1"/>
                            <field name="partial"/>
                            <field name="amount" string="Total" sum="Total Invoices Amount"/>
                            <field name="invoice_id" invisible="1"/>
                        </tree>
                     </field>

And:

                            <field colspan="4" name="direct_payment_ids" nolabel="1" widget="one2many_list" on_change="button_compute(context)">
                                <tree string="Direct Payment Lines">
                                    <field name="method_id" select="1" required="1" domain="[('company_id','=', parent.company_id)]"/>
                                    <field name="currency_id" select="1" />
                                    <field name="amount" string="Total" required="1" sum="Total Direct Payment Amount"/>
                                </tree>
                                <form>
                                    <field name="method_id" select="1" required="1" domain="[('company_id','=', parent.company_id)]" />
                                    <field name="amount" string="Total" required="1" sum="Total Direct Payment Amount"/>
                                    <field name="currency_id" select="1" on_change="on_change_currency(currency_id, parent.company_id)"/>
                                </form>
                            </field>


** Attachment added: "XML of the view that produced the screenshots."
   https://bugs.launchpad.net/openobject-server/5.0/+bug/556657/+attachment/1800561/+files/simple_receipt_view.xml

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/556657

Title:
  o2m list widget string not translated

Status in OpenERP Server:
  Fix Released
Status in OpenERP Server 5.0 series:
  Confirmed
Status in OpenERP Server 6.0 series:
  Fix Released

Bug description:
  in py file
  'stock_dispo_production_sale_ids'  : one2many_sale('chricar.stock_dispo_production','order_line_id','To Sell', \

  in xml
  <field colspan="2" name="stock_dispo_production_sale_ids" nolabel="1" widget="one2many_list">
                          <tree string="Sale" editable="bottom">

  the string 'Sale' is in the translation table but not displayed in
  German