Skip to content

Commit

Permalink
Merge PR #760 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by thomaspaulb
  • Loading branch information
OCA-git-bot committed Jul 2, 2023
2 parents 843e4ea + 93c386e commit 5833722
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions report_qweb_signer/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ to use in your company.
* Set name, certificate file, password file and model
* 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``
* Domain: ``[('type','=','out_invoice'), ('state', 'in', ('open', 'paid'))]``
* Save as attachment: ``(object.number or '').replace('/','_') + '.signed.pdf'``
* Model: ``account.move``
* Domain: ``[('move_type','=','out_invoice'), ('state', '=', 'posted')]``
* Save as attachment: ``(object.name or '').replace('/','_') + '.signed.pdf'``

**Note**: Linux user that executes Odoo server process must have
read access to certificate file and password file
Expand Down

0 comments on commit 5833722

Please sign in to comment.