[MERGE] forward port branch saas-11.3 up to 7321c8e260
This commit is contained in:
@@ -603,7 +603,10 @@ class account_payment(models.Model):
|
||||
move.line_ids.remove_move_reconcile()
|
||||
move.button_cancel()
|
||||
move.unlink()
|
||||
rec.state = 'cancelled'
|
||||
rec.write({
|
||||
'state': 'cancelled',
|
||||
'move_name': False,
|
||||
})
|
||||
|
||||
@api.multi
|
||||
def unlink(self):
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<field name="end_date"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="pos_config_ids" colspan="4" nolabel="1" />
|
||||
<field name="pos_config_ids" mode="tree" colspan="4" nolabel="1" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="generate_report" string="Print" type="object" class="btn-primary"/>
|
||||
|
||||
Reference in New Issue
Block a user