Remove model on General Ledger report
This commit is contained in:
1 parent
550480866f
commit
2b3379f206
2 files changed
+1
-5
No files matched your search
@@ -673,10 +673,6 @@ PrintGeneralLegder()
|
||||
class GeneralLegder(Report):
|
||||
_name = 'account.account.general_ledger'
|
||||
|
||||
def _get_objects(self, cursor, user, ids, model, datas, context):
|
||||
#Don't browse false account
|
||||
return None
|
||||
|
||||
def parse(self, cursor, user, report, objects, datas, context):
|
||||
if context is None:
|
||||
context = {}
|
||||
|
||||
+1
-1
@@ -537,7 +537,7 @@
|
||||
|
||||
<record model="ir.action.report" id="report_general_ledger">
|
||||
<field name="name">General Ledger</field>
|
||||
<field name="model">account.account</field>
|
||||
<field name="model"></field>
|
||||
<field name="report_name">account.account.general_ledger</field>
|
||||
<field name="report">account/general_ledger.odt</field>
|
||||
</record>
|
||||
|
||||
Reference in new issue
Block a user