Skip to content

Commit

Permalink
Merge pull request OCA#358 from jcoux/489_purchase_order_duplication
Browse files Browse the repository at this point in the history
BSSFL-489: Don't duplicate confirmation date on purchase order
  • Loading branch information
leemannd committed Feb 13, 2018
2 parents a50cbef + 4939e73 commit 39120f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ latest (unreleased)
**Bugfixes**

* BSSFL-491: Fix invoice report (add condition to display bank details)
* BSSFL-489: Don't duplicate confirmation date on purchase order

**Build**

Expand Down
4 changes: 3 additions & 1 deletion odoo/local-src/sf_purchase/models/purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class Purchase(models.Model):
help='An indirect supplier.')
confirmation_date = fields.Datetime(
string='Confirmation Date',
readonly=True, index=True,
readonly=True,
index=True,
copy=False,
help="Date on which the purchase order is confirmed.")
print_draft = fields.Boolean(
string='Print Draft',
Expand Down
1 change: 1 addition & 0 deletions odoo/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,5 @@ migration:
addons:
upgrade:
- sf_account
- sf_purchase
- sf_sale

0 comments on commit 39120f8

Please sign in to comment.