diff options
| -rw-r--r-- | addons/account/demo/account_statement_operations.yml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/addons/account/demo/account_statement_operations.yml b/addons/account/demo/account_statement_operations.yml deleted file mode 100644 index e4a87472fa0..00000000000 --- a/addons/account/demo/account_statement_operations.yml +++ /dev/null @@ -1,37 +0,0 @@ -- - !python {model: ir.model.data, id: False} : | - account_id = self.env['account.account'].search([('user_type_id', '=', ref('account.data_account_type_expenses')), ('tag_ids', '=', ref('account_tag_operating'))], limit=1).id - vals = { - 'name': "Discount For Early Payment", - 'label': 'Discount', - 'amount_type': 'percentage', - 'amount': -7, - } - if account_id: - vals['account_id'] = account_id - self._update(cr, uid, 'account.reconcile.model', 'account', vals, 'account_reconcile_model_1') -- - !python {model: ir.model.data, id: False} : | - account_id = self.env['account.account'].search([('user_type_id', '=', ref('account.data_account_type_expenses')), ('tag_ids', '=', ref('account_tag_operating'))], limit=1).id - vals = { - 'name': "Bank Fees", - 'label': 'Bank Fees', - 'amount_type': 'percentage', - 'amount': 100.0, - } - if account_id: - vals['account_id'] = account_id - self._update(cr, uid, 'account.reconcile.model', 'account', vals, 'account_reconcile_model_2') -- - !python {model: ir.model.data, id: False} : | - account_id = self.env['account.account'].search([('user_type_id', '=', ref('account.data_account_type_revenue')), ('tag_ids', '=', ref('account_tag_operating'))], limit=1).id - vals = { - 'name': "Profit / Loss", - 'label': 'Profit / Loss', - 'amount_type': 'percentage', - 'amount': 100.0, - } - if account_id: - vals['account_id'] = account_id - self._update(cr, uid, 'account.reconcile.model', 'account', vals, 'account_reconcile_model_3') -- |
