mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-18 05:32:08 +02:00
Hide zero previous balance row, default reconciled to False
🤖 assisted by claude
This commit is contained in:
parent
09f99815cb
commit
e65f2ee0ec
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@
|
|||
</tr>
|
||||
<t t-if="data['form'].get('previous_balance') and data['form'].get('date_from')">
|
||||
<t t-set="prev_bal" t-value="previous_balance(data, o)"/>
|
||||
<tr style="background-color: #f0f0f0; font-style: italic;">
|
||||
<tr t-if="prev_bal['debit'] or prev_bal['credit'] or prev_bal['balance']" style="background-color: #f0f0f0; font-style: italic;">
|
||||
<td colspan="4">
|
||||
<strong>Prethodno stanje do <t t-esc="data['form']['date_from']" t-options="{'widget': 'date'}"/></strong>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
'default_partner_ids':active_ids,
|
||||
'default_target_move': 'posted',
|
||||
'default_result_selection': 'customer_supplier',
|
||||
'default_reconciled': True,
|
||||
'default_reconciled': False,
|
||||
'hide_partner':1,
|
||||
}</field>
|
||||
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue