xxxx
parent
ff83a1a41b
commit
b0e869067c
|
@ -57,7 +57,6 @@
|
|||
</tab>
|
||||
<tab string="Others">
|
||||
<field name="note"/>
|
||||
<separator string="Accounting"/>
|
||||
<field name="paid" readonly="1"/>
|
||||
</tab>
|
||||
</tabs>
|
||||
|
@ -91,8 +90,8 @@
|
|||
</foot>
|
||||
<related>
|
||||
<field name="invoices" click_action="view_invoice"/>
|
||||
<field name="payments" click_action="view_payment"/>
|
||||
<field name="pickings" click_action="view_picking"/>
|
||||
<field name="payments" click_action="view_payment"/>
|
||||
<field name="comments"/>
|
||||
</related>
|
||||
</form>
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
</item>
|
||||
<item string="Visits" action="clinic_visit"/>
|
||||
<item string="Treatments" action="clinic_hd_case"/>
|
||||
<item string="Planings">
|
||||
<item string="Visit" action="clinic_visit"/>
|
||||
</item>
|
||||
<!--<item string="Planings">-->
|
||||
<!--<item string="Visit" action="clinic_visit"/>-->
|
||||
<!--</item>-->
|
||||
<item string="Reports">
|
||||
<item string="Report1" action="report1"/>
|
||||
<item string="TODO" action="todo"/>
|
||||
</item>
|
||||
<item string="Imports">
|
||||
<item string="Import Payments" action="clinic_import_payment"/>
|
||||
|
|
|
@ -308,7 +308,7 @@ class HDcase(Model):
|
|||
obj.post_invoices()
|
||||
obj.write({
|
||||
"state":"completed",
|
||||
'paid': True,
|
||||
#'paid': True,
|
||||
})
|
||||
return {
|
||||
'next': {
|
||||
|
|
Loading…
Reference in New Issue