Sanjay Gohel (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-customer-payment-sgo
into lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa.
Requested reviews:
Amit Patel (OpenERP) (apa-tiny)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-customer-payment-sgo/+merge/123743
hello sir,
I have done on create of sale receipt add first sale account and display lable
of bank name and number in customer accounting tab.
Thank you.
SGO
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-customer-payment-sgo/+merge/123743
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa.
=== modified file 'account/partner_view.xml'
--- account/partner_view.xml 2012-08-13 16:06:57 +0000
+++ account/partner_view.xml 2012-09-11 13:32:33 +0000
@@ -93,8 +93,10 @@
</group>
<field name="bank_ids">
<form string="Bank account" version="7.0">
- <field name="state"/>
- <field name="acc_number"/>
+ <group>
+ <field name="state" class="oe_inline"/>
+ <field name="acc_number" class="oe_inline"/>
+ </group>
<group>
<group name="owner" string="Bank Account Owner">
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
=== modified file 'account_voucher/account_voucher.py'
--- account_voucher/account_voucher.py 2012-08-21 15:09:36 +0000
+++ account_voucher/account_voucher.py 2012-09-11 13:32:33 +0000
@@ -1373,8 +1373,14 @@
'company_id': fields.related('voucher_id','company_id', relation='res.company', type='many2one', string='Company', store=True, readonly=True),
'currency_id': fields.function(_currency_id, string='Currency', type='many2one', relation='res.currency', readonly=True),
}
+
+ def _default_account_id(self, cr, uid, ids, context=None):
+ prop = self.pool.get('ir.property').get(cr, uid, 'property_account_income_categ', 'product.category', context=context)
+ return prop and prop.id or False
+
_defaults = {
'name': '',
+ 'account_id':_default_account_id
}
def onchange_reconcile(self, cr, uid, ids, reconcile, amount, amount_unreconciled, context=None):
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp