@tft
Invoice report (account/report/account_print_invoice.rml) uses
(object.state in ('open','paid')) and ('INV'+(object.number or
'').replace('/',''))
as default name to create attachments, regardless from which company in the db
to get a unique name it is neccessary to include the company_id.name in
the attachment naming
(object.state in ('open','paid')) and ('INV-'+(object.company_id and
(object.company_id.name+'-'))+(object.number or '').replace('/','-'))
save as attachment prefix field is to short !!!! to enter this string
had to increase the length of the field to 256
'attachment': fields.char('Save As Attachment Prefix', size=256,
help='This is the filename of the attachment used to store the printing result.
Keep empty to not save the printed reports. You can use a python expression
with the object and time variables.'),
obviously it is also possible (a must !) to create a folder per company
manually to keep documents separated by company
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/676857
Title:
[6.0RC1] documents - separation per company
Status in OpenObject Addons Modules:
Invalid
Bug description:
IMHO document structures must be separated by company
db_name / company / ......
at least to avoid duplicate document names (SO/PO...)
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp