summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-04-15 16:14:17 +0200
committerDenis Ledoux <dle@odoo.com>2016-04-15 16:19:15 +0200
commit37edd22b4c4be03dc99e445bdda46d6423ddb761 (patch)
tree1adff3c459f12cc94e7bdf6e8b6985a03f90e456
parentcbc0dace389345a5749fd6841befc1ad18f178a8 (diff)
[FIX] account_voucher: Purchase receipt bill date twice in the view
The `account.voucher` field `date` was twice in the view `view_purchase_receipt_form` Besides the fact the field was twice in the view, this prevented to set a date in the past for the resulting journal entries, as the second field `date` input of the view contained the date of today, while only the first one was visible and editable by the user, and it was the second field value which was took into account when passing the form values to the server, most-likely because this second field was set further in the view. opw-674712
-rw-r--r--addons/account_voucher/voucher_sales_purchase_view.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml
index 3d6316c5cc2..804553ea459 100644
--- a/addons/account_voucher/voucher_sales_purchase_view.xml
+++ b/addons/account_voucher/voucher_sales_purchase_view.xml
@@ -220,9 +220,6 @@
</group>
</page>
<page string="Journal Items" attrs="{'invisible': [('state','!=','posted')]}" groups="base.group_no_one">
- <group col="4">
- <field name="date"/>
- </group>
<group>
<field name="move_id" readonly="1"/>
</group>