Remove style on Report
issue4904 review18481002
This commit is contained in:
1 parent
b1c448362b
commit
9a69ebd70c
6 files changed
+4
-4
No files matched your search
@@ -1,3 +1,5 @@
|
||||
* Remove header_A4.odt style
|
||||
|
||||
Version 3.6.0 - 2015-04-20
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for PyPy
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ class Company(ModelSQL, ModelView):
|
||||
cls.check_recursion(companies)
|
||||
|
||||
def get_rec_name(self, name):
|
||||
return self.party.rec_name
|
||||
return self.party.name
|
||||
|
||||
@classmethod
|
||||
def write(cls, companies, values, *args):
|
||||
|
||||
@@ -221,7 +221,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model">party.party</field>
|
||||
<field name="report_name">party.letter</field>
|
||||
<field name="report">company/letter.odt</field>
|
||||
<field name="style">company/header_A4.odt</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="report_letter_party">
|
||||
<field name="keyword">form_print</field>
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
@@ -63,8 +63,7 @@ setup(name=name,
|
||||
],
|
||||
package_data={
|
||||
'trytond.modules.company': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'header_A4.odt',
|
||||
'letter.odt']),
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'letter.odt']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
|
||||
Reference in new issue
Block a user