← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693810] Re: [RC1]Pay button when you pay directly in Sales receipt form

 

Hi,

When you select pay later or group funds the pay button is not present.
It can be useful in this case.

I just change the != in = line 170 (voucher_sales_purchase_view.xml) and
all work

<button icon="terp-dolar_ok!" name="276"
context="{'narration':narration, 'title':'Customer Payment',
'type':'receipt', 'partner_id':partner_id, 'reference':reference,
'amount':amount}" type="action" string="Pay"
attrs="{'invisible':[('pay_now','=','pay_now')]}"/>

The pay button is hiding when you pay directly and displayed when you
pay later.

So I don't understand why you say it's not possible ?

Laurent

-- 
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/693810

Title:
  [RC1]Pay button when you pay directly in Sales receipt form

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  Last Trunk 

In Accounting/Customers/Sales Receipt

I create new sales receipt
I select :

Payement : Pay directly 
Account : Current

I validate and then there is a button Pay. 
But when I validate the sales receipt, payement is already made. (See account moves)

The Pay button is maybe necessary when I select Pay Later or Group Funds ?
But he is missing in this case

In supplier vouchers, it's work fine :)

Thx





References