summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-06-03 10:39:06 +0200
committerDenis Ledoux <dle@odoo.com>2015-06-03 11:13:03 +0200
commitf0b07428476b9c951f69cf017ba634ee7da76773 (patch)
treec3a870d1d82789edaf96ecd724ff732320e3552b /addons/website/static/src/xml/website.contentMenu.xml
parent62876b09f9b32e17e6a8a82a86039fb7f8744f51 (diff)
[FIX] account: default values of payments (customer/supplier)
In `account.abstract.payment` model, The `partner_type` and `payment_type` fields had set as default `supplier` and `outbound`, respectively. The thing is, the `default_get` method of model `account.payment` (inheriting on the above model), will keep these default values set, even if the invoice is customer invoice, which is wrong. Either, this `default_get` should ignore the current default values, either, the default values should not be wrong in the first place. In this revision, I choose the second solution. Therefore, I had to add the default value `outbound` in the purchase payments menu action. opw-641441
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions