Skip to content

Commit

Permalink
[IMP]
Browse files Browse the repository at this point in the history
  • Loading branch information
fmdl committed Jun 24, 2017
1 parent 5b99907 commit d012d5e
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 76 deletions.
1 change: 1 addition & 0 deletions models/account.py
Expand Up @@ -7,3 +7,4 @@ class AccountAccount(models.Model):
_inherit = 'account.account'

compacted = fields.Boolean('Compacte reconciled entries.', help='If flagged, no details will be displayed in the Standard report, only compacted amounts per period.', default=False)
type_third_parties = fields.Selection([('no', 'No'), ('supplier', 'Supplier'), ('customer', 'Customer')], string='Third Partie', required='no', default='no')
3 changes: 2 additions & 1 deletion views/account_standard.xml
Expand Up @@ -13,9 +13,10 @@
<field name="partner_id"/>
<field name="debit" sum="Total"/>
<field name="credit" sum="Total"/>
<field name="balance"/>
<field name="balance" sum="Total"/>
<field name="cumul_balance_account"/>
<field name="full_reconcile_id"/>
<field name="reconciled"/>
</tree>
</field>
</record>
Expand Down
1 change: 1 addition & 0 deletions views/account_view.xml
Expand Up @@ -8,6 +8,7 @@
<field name="arch" type="xml">
<field name="deprecated" position="after">
<field name="compacted" attrs="{'readonly':[('reconcile','=',False)]}"/>
<field name="type_third_parties"/>
</field>
</field>
</record>
Expand Down

0 comments on commit d012d5e

Please sign in to comment.