diff options
| author | Martin Trigaux <mat@odoo.com> | 2014-12-11 16:57:25 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2014-12-11 17:01:05 +0100 |
| commit | c3de121988987575d55490afe50ded38c1d18a4e (patch) | |
| tree | 681e6c0dd86c0ea219b508dd94c57f00cccdfb2b /addons/web/static/src/xml/base.xml | |
| parent | bdd5ec8216d375ef2baf3e9903c394a8f13061a1 (diff) | |
[FIX] stock_account: avoid getting 'stock.picking()' as reference
In the new api an empty recordset converted to string is the name its class
while previously it was converted to an empty string.
The valid v7 condition sould have probably been
move.picking_id and move.picking_id.name or False
but in v8, simply move.picking_id.name is enough and avoids getting these
accounting entries strangly named when there is no picking.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
