mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract_sale_generation: it doesn't create sales (#141)
* Change the method called in the view * Complete the create_invoice method * Bump version + authoring * Correct bad call of method Small Documentation * Add super call in python test * FIX bad field names causing bad quantities in sale.order.line
This commit is contained in:
committed by
Murtuza Saleh
parent
245ab30ab6
commit
dd5636a84f
@@ -14,7 +14,7 @@
|
||||
<attribute name="attrs">{'invisible': ['|',('recurring_invoices','!=',True),('type','!=','invoice')]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='recurring_create_invoice']" position="before">
|
||||
<button name="recurring_create_invoice"
|
||||
<button name="recurring_create_sale"
|
||||
type="object"
|
||||
attrs="{'invisible': ['|',('recurring_invoices','!=',True),('type','!=','sale')]}"
|
||||
string="Create sales"
|
||||
|
||||
Reference in New Issue
Block a user