Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions sale_automatic_workflow/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Sale Automatic Workflow
=======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:07794bae9b25ef888a04c32a3899585470a77ddd72ca41a4ea461c479e314641
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -19,11 +22,11 @@ Sale Automatic Workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_automatic_workflow
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/15.0
:alt: Try me on Runbot
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
|badge1| |badge2| |badge3| |badge4| |badge5|

Create workflows with more or less automatization and apply it on sales
orders.
Expand All @@ -41,6 +44,7 @@ A workflow can:
- Apply automatic actions:

* Validate the order (only if paid, always, never)
* Send order confirmation mail (only when order confirmed)
* Create an invoice
* Validate the invoice
* Confirm the picking
Expand All @@ -58,7 +62,7 @@ Bug Tracker

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_automatic_workflow%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.
Expand Down
13 changes: 13 additions & 0 deletions sale_automatic_workflow/data/automatic_workflow_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,19 @@
>[('state', '=', 'sale'),('invoice_status','=','invoiced')]</field>
<field name="user_id" ref="base.user_root" />
</record>
<record id="automatic_workflow_payment_filter" model="ir.filters">
<field name="name">Automatic Workflow Payment Filter</field>
<field name="model_id">account.move</field>
<field
name="domain"
>[('state', '=', 'posted'), ('move_type', '=', 'out_invoice'), ('payment_state','!=','paid')]</field>
<field name="user_id" ref="base.user_root" />
</record>
<record id="automatic_validation" model="sale.workflow.process">
<field name="name">Automatic</field>
<field name="picking_policy">one</field>
<field name="validate_order" eval="1" />
<field name="send_order_confirmation_mail" eval="1" />
<field name="order_filter_id" eval="automatic_workflow_order_filter" />
<field name="create_invoice" eval="1" />
<field
Expand All @@ -62,6 +71,8 @@
<field name="picking_filter_id" eval="automatic_workflow_picking_filter" />
<field name="sale_done" eval="0" />
<field name="sale_done_filter_id" eval="automatic_workflow_sale_done_filter" />
<field name="register_payment" eval="0" />
<field name="payment_filter_id" ref="automatic_workflow_payment_filter" />
<field
name="warning"
>Be careful, if you save the order with this setting, it could be auto-confirmed, even if you are editing it.</field>
Expand All @@ -84,6 +95,8 @@
/>
<field name="picking_filter_id" eval="automatic_workflow_picking_filter" />
<field name="sale_done_filter_id" eval="automatic_workflow_sale_done_filter" />
<field name="register_payment" eval="0" />
<field name="payment_filter_id" ref="automatic_workflow_payment_filter" />
</record>
<record forcecreate="True" id="ir_cron_automatic_workflow_job" model="ir.cron">
<field name="name">Automatic Workflow Job</field>
Expand Down
36 changes: 35 additions & 1 deletion sale_automatic_workflow/i18n/am.po
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ msgstr ""
msgid "Automatic Workflow Order Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_payment_filter
msgid "Automatic Workflow Payment Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_picking_filter
msgid "Automatic Workflow Picking Filter"
Expand Down Expand Up @@ -124,6 +129,11 @@ msgstr ""
msgid "Display Name"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_domain
msgid "Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "Force Invoice Date"
Expand Down Expand Up @@ -155,7 +165,7 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_account_move
msgid "Journal Entries"
msgid "Journal Entry"
msgstr ""

#. module: sale_automatic_workflow
Expand Down Expand Up @@ -206,6 +216,16 @@ msgstr ""
msgid "Picking Filter Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__register_payment
msgid "Register Payment"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_id
msgid "Register Payment Invoice Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__sale_done
msgid "Sale Done"
Expand All @@ -223,7 +243,9 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_sale_workflow_process
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_bank_statement_line__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_move__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_payment__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_stock_picking__workflow_process_id
msgid "Sale Workflow Process"
msgstr ""
Expand All @@ -250,6 +272,11 @@ msgid ""
"pickings..."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid "Send Order Confirmation Mail"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__property_journal_id
msgid "Set default journal to use on invoice"
Expand Down Expand Up @@ -300,6 +327,13 @@ msgstr ""
msgid "Warning Message"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid ""
"When checked, after order confirmation, a confirmation email will be sent "
"(if not already sent)."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "When checked, the invoice date will be the same than the order's date"
Expand Down
36 changes: 35 additions & 1 deletion sale_automatic_workflow/i18n/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ msgstr ""
msgid "Automatic Workflow Order Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_payment_filter
msgid "Automatic Workflow Payment Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_picking_filter
msgid "Automatic Workflow Picking Filter"
Expand Down Expand Up @@ -125,6 +130,11 @@ msgstr ""
msgid "Display Name"
msgstr "اسم العرض"

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_domain
msgid "Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "Force Invoice Date"
Expand Down Expand Up @@ -156,7 +166,7 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_account_move
msgid "Journal Entries"
msgid "Journal Entry"
msgstr ""

#. module: sale_automatic_workflow
Expand Down Expand Up @@ -207,6 +217,16 @@ msgstr ""
msgid "Picking Filter Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__register_payment
msgid "Register Payment"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_id
msgid "Register Payment Invoice Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__sale_done
msgid "Sale Done"
Expand All @@ -224,7 +244,9 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_sale_workflow_process
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_bank_statement_line__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_move__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_payment__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_stock_picking__workflow_process_id
msgid "Sale Workflow Process"
msgstr ""
Expand All @@ -251,6 +273,11 @@ msgid ""
"pickings..."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid "Send Order Confirmation Mail"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__property_journal_id
msgid "Set default journal to use on invoice"
Expand Down Expand Up @@ -301,6 +328,13 @@ msgstr ""
msgid "Warning Message"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid ""
"When checked, after order confirmation, a confirmation email will be sent "
"(if not already sent)."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "When checked, the invoice date will be the same than the order's date"
Expand Down
36 changes: 35 additions & 1 deletion sale_automatic_workflow/i18n/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ msgstr ""
msgid "Automatic Workflow Order Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_payment_filter
msgid "Automatic Workflow Payment Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.filters,name:sale_automatic_workflow.automatic_workflow_picking_filter
msgid "Automatic Workflow Picking Filter"
Expand Down Expand Up @@ -124,6 +129,11 @@ msgstr ""
msgid "Display Name"
msgstr "Име за показване"

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_domain
msgid "Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "Force Invoice Date"
Expand Down Expand Up @@ -155,7 +165,7 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_account_move
msgid "Journal Entries"
msgid "Journal Entry"
msgstr ""

#. module: sale_automatic_workflow
Expand Down Expand Up @@ -206,6 +216,16 @@ msgstr ""
msgid "Picking Filter Domain"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__register_payment
msgid "Register Payment"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__payment_filter_id
msgid "Register Payment Invoice Filter"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__sale_done
msgid "Sale Done"
Expand All @@ -223,7 +243,9 @@ msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model,name:sale_automatic_workflow.model_sale_workflow_process
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_bank_statement_line__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_move__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_account_payment__workflow_process_id
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_stock_picking__workflow_process_id
msgid "Sale Workflow Process"
msgstr ""
Expand All @@ -250,6 +272,11 @@ msgid ""
"pickings..."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,field_description:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid "Send Order Confirmation Mail"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__property_journal_id
msgid "Set default journal to use on invoice"
Expand Down Expand Up @@ -300,6 +327,13 @@ msgstr ""
msgid "Warning Message"
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__send_order_confirmation_mail
msgid ""
"When checked, after order confirmation, a confirmation email will be sent "
"(if not already sent)."
msgstr ""

#. module: sale_automatic_workflow
#: model:ir.model.fields,help:sale_automatic_workflow.field_sale_workflow_process__invoice_date_is_order_date
msgid "When checked, the invoice date will be the same than the order's date"
Expand Down
Loading
Loading