conv_bal
watcha.h 2014-10-05 16:56:36 +07:00
parent ff83a1a41b
commit b0e869067c
3 changed files with 6 additions and 7 deletions

View File

@ -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>

View File

@ -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"/>

View File

@ -308,7 +308,7 @@ class HDcase(Model):
obj.post_invoices()
obj.write({
"state":"completed",
'paid': True,
#'paid': True,
})
return {
'next': {