-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Support different Credit Accounts (#702)
(e.g. internal for employees and usual for customers) Other updates are: +- **ADD:** Cash out feature +- **ADD:** Multiple debit credit accounts +- **ADD:** Smart button with debts/credits on a customer view +- **ADD:** Credits via discount +- **FIX:** Debt history for Chinese localization +- **FIX:** Error when user doesn't have timezone +- **FIX:** user_id was always replaced to Administrator in pos.order +- **IMP:** Updating debts/credits data for partners in opened orders after restoring the internet connection +- **ADD:** Option 'Autopay' for debt journals
- Loading branch information
Ivan Yelizariev
authored
Jul 18, 2018
1 parent
5776873
commit 6f491c5
Showing
81 changed files
with
4,723 additions
and
686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<!--Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). --> | ||
|
||
<openerp> | ||
<data> | ||
|
||
<!--Set field debt to 'credit' in model pos.config.settings via get_default_debt_type--> | ||
<function model="ir.config_parameter" name="set_param" eval="('pos_debt_notebook.debt_type', 'credit', ['base.group_system'])" /> | ||
|
||
<record id="product_credit_product" model="product.product"> | ||
<field name="name">Credits top-up</field> | ||
<field name="default_code">POS-DEBT</field> | ||
<field name="sale_ok" eval="True"/> | ||
<field name="available_in_pos" eval="True"/> | ||
<field name="list_price">1</field> | ||
<field name="type">service</field> | ||
<field name="uom_id" ref="product.product_uom_unit"/> | ||
<field name="description">This is a product for purchasing "Credits".</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.