mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Update CONFIGURE.rst
This commit is contained in:
@@ -9,11 +9,11 @@ to use in your company.
|
|||||||
* Set name, certificate file, password file and model
|
* Set name, certificate file, password file and model
|
||||||
* Optionally you can set a domain and filename pattern for saving as attachment
|
* Optionally you can set a domain and filename pattern for saving as attachment
|
||||||
|
|
||||||
For example, if you want to sign only customer invoices in open or paid state:
|
For example, if you want to sign only customer invoices in posted state:
|
||||||
|
|
||||||
* Model: ``account.invoice``
|
* Model: ``account.move``
|
||||||
* Domain: ``[('type','=','out_invoice'), ('state', 'in', ('open', 'paid'))]``
|
* Domain: ``[('move_type','=','out_invoice'), ('state', '=', 'posted')]``
|
||||||
* Save as attachment: ``(object.number or '').replace('/','_') + '.signed.pdf'``
|
* Save as attachment: ``(object.name or '').replace('/','_') + '.signed.pdf'``
|
||||||
|
|
||||||
**Note**: Linux user that executes Odoo server process must have
|
**Note**: Linux user that executes Odoo server process must have
|
||||||
read access to certificate file and password file
|
read access to certificate file and password file
|
||||||
|
|||||||
Reference in New Issue
Block a user